MCP server
ctx — queryable code graph
Call graphs, blast radius and API-breakage gates. Every answer reports its own…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.28.1
- Listing updated
- 3 days ago
About ctx — queryable code graph
ctx — queryable code graph is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Call graphs, blast radius and API-breakage gates. Every answer reports its own completeness.
Install
Run in a terminal
claude mcp add ctx -- npx -y code-contextAdd to claude_desktop_config.json
{
"mcpServers": {
"ctx": {
"command": "npx",
"args": [
"-y",
"code-context"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ctx": {
"command": "npx",
"args": [
"-y",
"code-context"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"ctx": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"code-context"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ctx": {
"command": "npx",
"args": [
"-y",
"code-context"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ctx": {
"command": "npx",
"args": [
"-y",
"code-context"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
ctx — queryable code graph FAQ
Is ctx — queryable code graph free?
Yes. ctx — queryable code graph is open source, so you can use and self-host it for free.
How do I add ctx — queryable code graph to Claude Code?
Run this command in your terminal: claude mcp add ctx -- npx -y code-context
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.