LocalFree

Codebase Context MCP server

PatrickSys/codebase-context

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.

67 GitHub stars12 forks

Install Codebase Context in Claude Code

This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:

Claude Code
claude mcp add codebase-context -- <command to start the server>

Frequently asked questions

What does the Codebase Context MCP server do?

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.

Is the Codebase Context MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Codebase Context run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Codebase Context to Claude Code?

Follow the install steps in the project's README at https://github.com/PatrickSys/codebase-context, then register it with "claude mcp add".

More developer tools MCP servers

View all