MCP.so
登录

Coderag MCP Server

@SylphxAI

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

SylphxAI

提交者

Kyle Tse

关于 Coderag MCP Server

Lightning-fast semantic code search with AST chunking (15+ languages) - Hybrid TF-IDF + Vector, MCP-ready for AI assistants

Coderag MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": [
        "-y",
        "@sylphx/coderag-mcp",
        "--root=/path/to/project"
      ]
    }
  }
}

Coderag MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

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.

评论

其他 分类下的更多 MCP 服务器