About
Local MCP server for repo maps, code search, and token-aware context packs.
Features
- Generate lightweight repository maps with entrypoints and manifests
- Search source-like files and return path:line hits
- Pack focused code context into token-budgeted Markdown
- Respects .gitignore and skips common vendor or build directories
- Works as both an MCP server and a CLI for scripts
Use Cases
AI coding agent users
Give Claude Code, Codex, Cursor, or Cline focused repository context without pasting a whole monorepo.
Engineering teams reviewing code
Create repeatable context packs for pull requests, architecture review, and bug investigation.
What This Server Can Do
MCP servers expose three types of capabilities to AI clients. Here's what repo-context-mcp supports.
Tools
Supported3 toolsFunctions your AI client can call to perform actions — like querying a database, creating a file, or calling an API.
How to use: Tools run automatically when your AI client decides they're needed. Ask your AI assistant to perform a task, and it will invoke the right tool.
Resources
Not availableThis server does not expose read-only data resources.
Prompts
Not availableThis server does not provide pre-built prompt templates.
For the full list of available tools, resources, and prompts, check the README on GitHub.
Available Tools (3)
repo_mapGenerate a lightweight repository tree and likely entrypoints.
search_codeSearch source-like files and return path:line matches.
pack_contextBuild a focused token-budgeted Markdown context pack.