Codebase Context MCP Server
Shows agents which patterns a codebase actually uses, which files a change will affect and when there is too little context to trust an edit. Runs locally.
context tax
queued
security
queued
cold start
queued
freshness
Active4d ago
Install Codebase Context MCP server
Install in Claude Code
claude mcp add codebase-context -- npx -y codebase-contextInstall in Cursor
{
"mcpServers": {
"codebase-context": {
"command": "npx",
"args": [
"-y",
"codebase-context"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"codebase-context": {
"command": "npx",
"args": [
"-y",
"codebase-context"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"codebase-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codebase-context"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"codebase-context": {
"command": "npx",
"args": [
"-y",
"codebase-context"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 4d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 4d ago · GitHub
Latest release
2026-04-18 · 6mo ago · GitHub · v2.3.0
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
FAQ
›How do I install the Codebase Context MCP server in Claude Code?
Run: claude mcp add codebase-context -- npx -y codebase-context. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Codebase Context require an API key?
No required environment variables are declared in its published metadata.
›Can I use Codebase Context as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Codebase Context in the official MCP registry?
No. It was indexed from npm, awesome-mcp-servers (punkpeye).
Alternatives to Codebase Context
Other devops & ci/cd MCP servers.