Skip to content
MCP server

RepoContext

Read-only, commit-pinned repository context for coding agents.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.1
Listing updated
5 days ago

About RepoContext

RepoContext is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add repocontext -- npx -y @shmindmaster/repocontext

Add to claude_desktop_config.json

{
  "mcpServers": {
    "repocontext": {
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "repocontext": {
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "repocontext": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "repocontext": {
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "repocontext": {
      "command": "npx",
      "args": [
        "-y",
        "@shmindmaster/repocontext"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • REPOCONTEXT_REGISTRYPath to a registry created by repocontext init.

Pricing

Open source

RepoContext FAQ

Is RepoContext free?

Yes. RepoContext is open source, so you can use and self-host it for free.

How do I add RepoContext to Claude Code?

Run this command in your terminal: claude mcp add repocontext -- npx -y @shmindmaster/repocontext

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers