Home / MCP servers / Developer tools / codebase-context

codebase-context

codebase-context is a MCP server by PatrickSys that 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.

Updated 2026-10-16

What is codebase-context?

codebase-context is a MCP server by PatrickSys that 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. It is listed under Developer tools and has 65 GitHub stars.

TypeMcp server
AuthorPatrickSys
RepositoryPatrickSys/codebase-context
Popularity65 GitHub stars
CategoryDeveloper tools
SecurityLow risk (84/100)
Rank#760 of 4,418 MCP servers; #186 in Developer tools
Last commit2026-10-16
RunsLocally
LanguageTypeScript
PlatformsmacOS, Windows, Linux

Is codebase-context safe to install?

codebase-context scores 84/100 on the MCPMods security check: Low risk. Things to review: can take actions such as send, write or deploy. It passed 4 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Can take actions such as send, write or deployReview
No code executionPass
Source on GitHubPass

How do I install codebase-context?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/PatrickSys/codebase-context
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add codebase-context -- <command from README>
    claude mcp add --transport http codebase-context <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs codebase-context for you:

Add the "codebase-context" MCP server from https://github.com/PatrickSys/codebase-context to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.