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.
@SylphxAI
基本信息
Lightning-fast semantic code search with AST chunking (15+ languages) - Hybrid TF-IDF + Vector, MCP-ready for AI assistants
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"coderag": {
"command": "npx",
"args": [
"-y",
"@sylphx/coderag-mcp",
"--root=/path/to/project"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
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.
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.
codebase_searchCoderag 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.
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.
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.
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.
The server uses standard MCP stdio transport. No authentication mechanism is described; it is intended for local development use behind an MCP client.
Hindsight: Agent Memory That Learns
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
评论