# RepoCode MCP server

> Analyzes and compresses codebases into optimized, task-specific context files for AI coding agents and LLMs using dependency-aware ranking.

- Repository: https://github.com/nextbridgehq/repocode
- Page: https://hostedmcp.org/servers/nextbridgehq/repocode
- Transport: —
- Stars: 9
- License: MIT

## FAQ

### How does RepoCode select which files to include?

It uses graph traversal rather than simple pattern matching, following import relationships to ensure that highly ranked files include the modules they actually depend on.

### What happens if the codebase exceeds the specified token budget?

Instead of just cutting off files, RepoCode ranks files by importance and applies different compression tiers to lower-ranked files to fit the budget.

### Is my code sent to a server during processing?

By default, RepoCode runs locally with no telemetry. Code only leaves your machine if you explicitly configure an LLM provider for semantic summaries, use semantic query mode, or fetch a remote repository.

### Which programming languages are supported for import tracing?

It currently supports TypeScript, JavaScript, Python, Go, Rust, Ruby, Java, C, C++, PHP, and C#.
