ContextSmith runs on your own machine — the client starts it, so there is no endpoint to ping. 263 installs a week from pypi. Last commit 25 Oct 2026.
Give your coding agent the right code: graph + hybrid search, packed into a token budget. Local.
We read the source, 6 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
subprocess.run(["git", *args], cwd=cwd, check=True, capture_output=True)
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
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 contextsmith -- uvx contextsmith
{
"mcpServers": {
"contextsmith": {
"command": "uvx",
"args": [
"contextsmith"
]
}
}
}
[mcp_servers.contextsmith]
command = "uvx"
args = ["contextsmith"]
{
"mcpServers": {
"contextsmith": {
"command": "uvx",
"args": [
"contextsmith"
]
}
}
}
{
"servers": {
"contextsmith": {
"type": "stdio",
"command": "uvx",
"args": [
"contextsmith"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
CTXSMITH_ROOT (Repository to index and answer from (default: the working directory)).
Local code search and task context packs for coding agents
Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.
Code knowledge graph over MCP: token-budgeted context for AI coding agents.
Ranked local code-graph context for AI coding agents. Intercepts reads + greps. Apache-2.0.
Local-first memory for Claude Code and any MCP client: hybrid search + knowledge graph, $0/token.
Saves AI coding-agent context by giving exact code instead of whole files, from a local graph.
Local-first memory system for AI agents with hybrid search and graph reasoning
Index source code into a local knowledge base, search with keyword + semantic + hybrid modes.
Answers built from our own checks of this server.