MCP server
Code Context Gate
Context-aware code retrieval MCP server — ranked, gated results for AI coding agents
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- 5 days ago
About Code Context Gate
Code Context Gate 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 code-context-gate -- npx -y code-context-gateAdd to claude_desktop_config.json
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": [
"-y",
"code-context-gate"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": [
"-y",
"code-context-gate"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"code-context-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"code-context-gate"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": [
"-y",
"code-context-gate"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": [
"-y",
"code-context-gate"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Code Context Gate FAQ
Is Code Context Gate free?
Yes. Code Context Gate is open source, so you can use and self-host it for free.
How do I add Code Context Gate to Claude Code?
Run this command in your terminal: claude mcp add code-context-gate -- npx -y code-context-gate
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.