Surgical Context MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 2 559 installs a week from pypi. Last commit 1 Nov 2026.
Local Tree-sitter code graph: surgical edit context for AI agents instead of full-file reads.
Today is the operative word: we check Surgical Context MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add surgical-context-mcp -- uvx surgical-context-mcp
{
"mcpServers": {
"surgical-context-mcp": {
"command": "uvx",
"args": [
"surgical-context-mcp"
]
}
}
}
[mcp_servers.surgical-context-mcp]
command = "uvx"
args = ["surgical-context-mcp"]
{
"mcpServers": {
"surgical-context-mcp": {
"command": "uvx",
"args": [
"surgical-context-mcp"
]
}
}
}
{
"servers": {
"surgical-context-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"surgical-context-mcp"
]
}
}
}
Saves AI coding-agent context by giving exact code instead of whole files, from a local graph.
Ranked local code-graph context for AI coding agents. Intercepts reads + greps. Apache-2.0.
On-demand, local code-context MCP server for AI coding agents with Tree-sitter AST.
Deterministic code map for AI coding agents: a tree-sitter call graph with exact file:line over MCP.
Local read-only repository context retrieval for AI coding agents.
Local-first memory for AI coding agents. Memory + CodeGraph + Wiki in one SQLite file.
Code intelligence for 15+ languages: semantic graph queries instead of file reads. 37 MCP tools.
Deep code indexing for AI agents. FTS5 + embeddings + call graphs + git intelligence. Fully local.
Answers built from our own checks of this server.