What do you want to do?
3 use cases
-
Give your coding agent a repo map and code search
Add the MCP server so the agent can map the repo, search code and pack context without walking node_modules.
View prompt
With repo-context-mcp configured for <repo>, call repo_map, then search_code for <symbol>, and list the path:line hits. Confirm node_modules was not included.
-
Build a token-budgeted context pack for a prompt
Use the CLI to pack the files about one area into Markdown under a token limit.
- REPO
nduc99911/repo-context-mcp - Software and DevOps
- Intermediate
View prompt
Run `node dist/cli.js pack . --focus <area> --max-tokens 8000` from repo-context-mcp on <repo> and report which files were included. Verify the pack stays under the token budget.
- REPO
-
Generate repo maps as JSON for CI and scripts
Generate a repository map and a token-budgeted context pack as JSON so CI jobs and scripts can feed agents the right files.
- REPO
nduc99911/repo-context-mcp - Software and DevOps
- Intermediate
View prompt
In CI, run repo-context-mcp's `map . --json` and `pack . --focus <dirs> --max-tokens <n>`, then review only the packed files for <goal>. Report the token count and list any changed file the pack left out.
- REPO
Quick start with Repo Context MCP
- Check you have what it needs: Node.js 18+.
- Open nduc99911/repo-context-mcp on GitHub and read the README and license.
- Install Node.js 18+
- Add a server with command npx, args -y Repo Context MCP, and REPO_CONTEXT_ROOT set to your repo
- Restart your MCP client
- Ask the agent to call repo_map before editing
These steps come from our top use case, Give your coding agent a repo map and code search, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nduc99911/repo-context-mcp
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeRepo Context MCP alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers using Codex, Claude Code, Cursor or Cline on large repositories or monorepos.
- Why it is hot105 stars, launched 75 days ago
- LanguageTypeScript
- Sourcegithub.com/nduc99911/repo-context-mcp · Back to Hot repos
Requirements
- Node.js 18+
Add this badge to your README
Maintain Repo Context MCP? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/nduc99911-repo-context-mcp/?utm_source=github&utm_medium=badge&utm_campaign=nduc99911-repo-context-mcp)
HTML
<a href="https://dedupedai.com/use-cases/nduc99911-repo-context-mcp/?utm_source=github&utm_medium=badge&utm_campaign=nduc99911-repo-context-mcp"><img src="https://dedupedai.com/badge/nduc99911/repo-context-mcp.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Repo Context MCP
What is Repo Context MCP?
repo-context-mcp is a local MCP server and CLI that gives AI coding agents a repository map, fast code search and token-budgeted context packs instead of dumping whole repos into prompts. It is an open-source project on GitHub: https://github.com/nduc99911/repo-context-mcp.
How do I use Repo Context MCP?
Install Node.js 18+; then add a server with command npx, args -y Repo Context MCP, and REPO_CONTEXT_ROOT set to your repo; Restart your MCP client. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Repo Context MCP for?
Developers using Codex, Claude Code, Cursor or Cline on large repositories or monorepos.
What can I do with Repo Context MCP?
3 use cases so far, for example: Give your coding agent a repo map and code search; Build a token-budgeted context pack for a prompt; Generate repo maps as JSON for CI and scripts. Each has steps and a copy-paste agent prompt.
What do I need to run Repo Context MCP?
Node.js 18+.
What are alternatives to Repo Context MCP?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Repo Context MCP safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.