Basic information
About Coderag MCP Server
Lightning-fast semantic code search with AST chunking (15+ languages) - Hybrid TF-IDF + Vector, MCP-ready for AI assistants
Coderag is a MCP server in the Other category listed in the AddMCP.net directory, published by SylphxAI. Supported transport: stdio. Runtime: node. License: MIT. The repository has 11 GitHub stars. Source code is hosted on github.com. Related topics: ai-assistant, code-search, coderag.
Setup
{
"mcpServers": {
"coderag": {
"command": "npx",
"args": [
"-y",
"@sylphx/coderag-mcp",
"--root=/path/to/project"
]
}
}
}
{
"mcpServers": {
"coderag": {
"command": "npx",
"args": [
"-y",
"@sylphx/coderag-mcp",
"--root=/path/to/project"
]
}
}
}
{
"servers": {
"coderag": {
"command": "npx",
"args": [
"-y",
"@sylphx/coderag-mcp",
"--root=/path/to/project"
]
}
}
}
Coderag MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"coderag": {
"command": "npx",
"args": [
"-y",
"@sylphx/coderag-mcp",
"--root=/path/to/project"
]
}
}
}
Coderag MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Coderag?
Coderag is an MCP server for intelligent codebase search that uses TF‑IDF ranking, designed to be RAG‑ready for AI assistants. It enables AI tools to search project source files and retrieve relevant code snippets.
How to use Coderag?
Install by adding the server configuration to your MCP client (Claude Desktop, VS Code, Cursor, Windsurf, Claude Code, or others) using npx -y @sylphx/coderag-mcp --root=/path/to/project. Optionally set --max-size (default 1 MB) or --no-auto-index. Invoke the codebase_search tool with a query string and optional parameters like limit, file_extensions, path_filter, and exclude_paths.
Key features of Coderag
- TF‑IDF ranked codebase search via MCP tool
codebase_search - LLM‑optimized output with minimal tokens and maximum content
- Configurable file size limit and auto‑indexing on startup
- Filter search by file extensions, path, and excluded directories
- Sub‑50 ms search latency after indexing
- Supports Node.js (via npx) or bun (via bunx) runtimes
Use cases of Coderag
- AI assistants answering questions about a project’s codebase
- Developers quickly finding relevant code snippets without leaving their editor
- Automated documentation or code review agents searching for specific patterns
- RAG pipelines for code generation tools that need context from existing source files
Frequently asked questions
1 What does Coderag do?
Coderag indexes project source files and provides a TF‑IDF‑based search tool (codebase_search) that returns ranked code snippets optimized for consumption by large language models.
2 What are the runtime requirements?
Coderag requires Node.js (to run via npx) or bun (via bunx). No persistent database or external services are needed; the index is built in memory from the specified root directory.
3 Where does indexed data live?
All indexing is performed in memory at startup from the codebase root specified by --root. No data is stored to disk by the server itself.
4 Are there any known limits?
Files larger than 1 MB (configurable via --max-size) are skipped. Auto‑indexing can be disabled with --no-auto-index. Memory usage is ~1–2 MB per 1000 files.
5 Which transports and authentication are supported?
The server uses standard MCP stdio transport. No authentication mechanism is described; it is intended for local development use behind an MCP client.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In