repofind MCP Server
Local codebase search for agents: hybrid keyword/semantic search, locate, expand, related code.
repofind scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 2 tools. Filed under Search. GitHub shows 0 stars. Package registries report about 64 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
76/100 for listing completeness. Lost points: 1 of 2 tools barely described, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-repofind": { "command": "npx", "args": [ "-y", "@reneturcios/repofind@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools2Tool docs quality grade D
All capabilitiesfind_relatedtoolFind similar code in other files,
read_benchmarktoolCumulative token-savings rollup
About
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
Frequently asked questions
What is repofind MCP Server?
Local codebase search for agents: hybrid keyword/semantic search, locate, expand, related code.
How do I install repofind MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. repofind MCP Server runs locally from the npm package @reneturcios/repofind with the command npx -y @reneturcios/repofind@0.1.0.
Is repofind MCP Server free and open source?
Yes. repofind MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does repofind MCP Server support remote (HTTP) connections?
No remote endpoint is listed for repofind MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does repofind MCP Server provide?
repofind MCP Server provides 2 tools: find_related and read_benchmark. See the full tool list for descriptions and parameters.
How is repofind MCP Server's trust score calculated?
repofind MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.