Repofind
What it does
Local codebase search for agents: hybrid keyword/semantic search, locate, expand, related code.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "repofind": { "command": "npx", "args": [ "-y", "@reneturcios/repofind", "mcp" ] } } }退出 Claude 再重新打开
试一试
用 Repofind 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Repofind,或回答中出现 Repofind 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Repofind
Repofind 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Repofind 的应用
- 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user repofind -- npx -y @reneturcios/repofind mcp在 Claude Code 中输入 /mcp
应能看到 Repofind 在列表中并显示已连接
试一试
用 Repofind 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Repofind,或回答中出现 Repofind 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Repofind 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Repofind,或回答中出现 Repofind 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Repofind 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Repofind,或回答中出现 Repofind 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user repofind -- npx -y @reneturcios/repofind mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"repofind": {
"command": "npx",
"args": [
"-y",
"@reneturcios/repofind",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"repofind": {
"command": "npx",
"args": [
"-y",
"@reneturcios/repofind",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"repofind": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/repofind",
"mcp"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于7天前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5810 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5810 个服务器的 72% 更新
- 基础检查结果等于或优于此分类中其他 5810 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Repofind 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于7天前,最新版本(0.1.0)于7天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
有什么可以替代它?
同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
repofind
Finding code in a repository you have never opened usually starts with a guess: a word to grep, a filename to try. repofind replaces the guessing with an index. Point it at a local directory and it walks the tree — skipping .git, node_modules, files over a megabyte, and anything outside a source-and-text extension allowlist — splits each file into consecutive 40-line chunks, and ranks those chunks against your question. One call returns the five best places to look, each with its file, line range, the chunk text, and a score.
Ranking is hybrid. A pinned BM25 scorer (k1 = 1.2, b = 0.75) over the chunk texts always runs. When a TAKARA_API_KEY is present in the environment, an embeddings step joins in: the query and the chunks are embedded through an OpenAI-compatible endpoint and each chunk's final score becomes bm25 + 10 * max(0, cosine). Without a key — or if the embedder fails — the result says so plainly in its notes and ranks by keyword alone. By default only the best hit per file is kept, so five hits mean five different files to open.
The other tools cover the rest of the exploration loop. locate finds an exact substring — an env var, a symbol, an error code — and reports it as a count, a file list, bare locations, or full lines. expand takes a hit you already have and returns its chunk plus the neighbouring chunks in the same file. find_related takes the same anchor and ranks chunks from every other file against it. read_benchmark rolls up saved benchmark-mode queries into a token-savings total. The original product's auth tool is not part of this rebuild: its interactive device login and AWS-profile validation cannot be reproduced from the published spec, so the surface here is five of the six tools.
CLI
npx @reneturcios/repofind search '{"query": "retry backoff logic", "repo": "."}'
npx @reneturcios/repofind locate '{"literal": "DATABASE_URL", "mode": "locations"}' npx @reneturcios/repofind expand '{"file_path": "src/client.ts", "anchor_line": 83}' npx @reneturcios/repofind find_related '{"file_path": "src/client.ts", "anchor_line": 83}' npx @reneturcios/repofind read_benchmark '{}' npx @reneturcios/repofind --version
Each tool subcommand takes the tool's arguments as one JSON string and prints the result as JSON. Exit codes: 0 on success, 1 on a runtime error, 2 on a usage error.
Environment variables: TAKARA_API_KEY enables the semantic half; MIRU_OPENAI_BASE_URL (default https://infer.takara.ai/v1) and MIRU_OPENAI_EMBEDDING_MODEL (default ds1-miru-int8) configure the embeddings endpoint; MIRU_MAX_INDEX_FILES caps the index (default 10000); MIRU_BENCHMARK_HISTORY_PATH overrides the benchmark history location.
MCP server
npx -y @reneturcios/repofind mcp
MCP client config:
{
"mcpServers": { "repofind": { "command": "npx", "args": ["-y", "@reneturcios/repofind", "mcp"] } } }
Tools
search— Hybrid semantic + keyword search over an indexed local codebase. Default for code exploration — one call per question.query(string, required) — natural language or code queryrepo(string, optional) — local directory to index; defaults to the working directoryinclude/exclude(string arrays, optional) — gitignore-style glob patterns against repo-relative pathsdedupe_by_file(boolean, default true) — keep the best hit per file
Returns {hits, ranking, notes} with at most 5 hits; each hit is {file_path, absolute_path, start_line, end_line, anchor_line, truncated, snippet, score} with the score rounded to 4 decimals.
locate— Find exact substrings (env vars, symbols, error codes) in an indexed local codebase.literal(string, required);modeone ofcount,files,locations,lines(defaultlines);limitcaps locations/lines;ignore_case(default false);repo,include,excludeas insearch.expand— Return more context in the same file around a search hit: the anchor chunk plus neighbouring chunks.file_pathandanchor_line(required);before/afterchunk counts (default 1 each).find_related— Find similar code in other files, from a hit's file_path and anchor_line. Returns the same{hits, ranking, notes}shape assearch, with the source file excluded.read_benchmark— Cumulative token-savings rollup from saved benchmark-mode queries. Returns{queries, total_tokens_saved, average_tokens_saved}; a missing history file is a zero rollup, not an error.
Docker
docker run -i ghcr.io/cloudcorprecords/repofind
docker run --rm ghcr.io/cloudcorprecords/repofind locate '{"literal": "TODO"}'
Development
npm install
npm run build # tsc -> dist/ npm test # tsx --test test/*.test.ts (temp fixture repos, fake embedder, no network) npm run dev # run the CLI from source
License
MIT — Copyright (c) 2026 Rene Turcios