oss-search MCP server
io.github.sblattj/oss-search·v0.3.2Fast local and federated OSS code search and repo discovery for AI agents
not scanned yet
0 stars200 downloads/wk
Reviews
Write oneNobody has reviewed oss-search yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
oss-search tools
No tool declarations could be read from the package source. They show once the server is installed.
How oss-search compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,470 Web search servers
- Downloads a week
- 200
- more than 70% of 827 Web search servers with a package
Release history: 2 versions in the registry since 2026-09-11, latest 2026-10-21, typically one every 41 days.
Install oss-search in Claude Code, Cursor or VS Code
Runs npx -y oss-search on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add oss-search -- npx -y oss-search
What the publisher says
From the oss-search repository's README, as published. We do not edit it. Read it on GitHub
oss-search
Fast local + federated OSS code search and repo discovery, built for AI agents (MCP) with a CLI twin.
Not recreating the wheel is a superpower. oss-search answers two questions for an agent:
- Which library already solves this? — multi-signal repo ranking (dependents, centrality, maintenance, security posture), not just star count.
- Show me real code that does this — sub-50ms regex search over a local hot-set corpus, federated with live backends (GitHub code search, grep.app) for the long tail.
Highlights
- 7 MCP tools (osssearchrepos, osssearchcode, ossrepoprofile, ossrepotree, ossfetchfile, ossfetchdocs, oss_guide) over stdio, plus a byte-identical CLI.
- Local trigram index: pure-Rust positional-trigram engine. Measured p50 ≈ 34ms over a 13,408-file / 100-repo hot-set; incremental reindex touches only changed blobs.
- Hybrid semantic layer: tree-sitter function-level chunking (Rust/Python/JS/TS/Go/C), local embeddings (fastembed, BGE-small), RRF fusion with lexical-first routing — identifier queries never pay model latency.
- Repo discovery ranking: dependents count, dependency-graph PageRank (CSR power iteration), OpenSSF-style maintenance/security signals, awesome-list membership, archived/stale gates — with per-signal contributions inspectable in every result.
- Corpus pipeline: blobless depth-1 clones → BLAKE3 content-addressed zstd store → 3-tier dedup (content / token / MinHash-LSH with exact Jaccard verification) → SPDX license detection.
- Strict agent-facing contract: structured filters, typed pre-execution errors (unknownfield / regexerror / not_indexable) that echo the input and name the correction, declared total/hasMore/partial, ~25KB response cap, never silent degradation.
- Security posture: RE2-class regex only (linear time, ReDoS-immune), file admission gates, output escaping (ANSI/control chars, bidi overrides) — all verified by test.
Install
Two front doors: oss-mcp (MCP server) and oss-cli (CLI twin). Three ways to get them:
1. npm — an oss-search shim that downloads the platform-matched prebuilt binary on first run and caches it under ~/.cache/oss-search/bin/ (override with OSSSEARCHCACHE_DIR):
npx -y oss-search --versionStatus (pre-publish): the oss-search npm package and its matching GitHub
release (v0.2.0) are being published now. Until they land, npx will fail
with a 404 on the release asset — use option 2 or 3 below.
2. cargo install from git (requires a Rust toolchain):
cargo install --git https://github.com/sblattj/oss-search oss-mcp
cargo install --git https://github.com/sblattj/oss-search oss-cliBinaries land in ~/.cargo/bin/.
3. Prebuilt binaries — every release publishes oss-search--.tar.gz plus checksums.txt (sha256) at , for targets aarch64-apple-darwin, x8664-apple-darwin, aarch64-unknown-linux-gnu, x8664-unknown-linux-gnu:
curl -fsSL https://github.com/sblattj/oss-search/releases/latest/download/oss-search-0.2.0-aarch64-apple-darwin.tar.gz | tar xzFrom a checkout instead:
cargo build --release
# binaries: target/release/oss-mcp target/release/oss-cliQuickstart (CLI)
oss-cli mirrors the 7-tool surface one-to-one (offline stub engine by default; --live switches to the real backends):
# Probe-writing and query-syntax playbook — offline, zero setup
oss-cli guide
# Repo discovery — which wheel exists?
oss-cli search-repos --query "express" --limit 5
# Code search by distinctive idioms (federated; GITHUB_TOKEN unlocks the github backend)
GITHUB_TOKEN=... oss-cli --live search-code --probe "retry_with_backoff" --limit 3All commands emit the same structured JSON envelope (results, total, hasmore, partial, backendstatus) that the MCP tools return.
Quickstart (MCP)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
oss-search: common questions
- Is oss-search MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the oss-search safety report
- How do I install oss-search?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does oss-search need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is oss-search maintained?
- The last commit was 23 days ago (2026-10-12). The latest release is v0.3.2.
- What can I use instead of oss-search?
- Servers from other publishers that do the same job: Tinysearch MCP server, GEO Tracker by DigestSEO MCP server and Docdex MCP server.
- How does oss-search compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,470 Web search servers); downloads a week 200 (more than 70% of 827 Web search servers with a package). Full comparison.
Alternatives to oss-search
Same job from other publishers: the closest match first, then the best rated.
- TinysearchFast discovery search and self-hosted web research for MCP agents.not reviewedEstablishedB
- GEO Tracker by DigestSEOTrack brand citations across seven AI search surfaces. Free OSS; optional EUR 99 client-ready audit.not reviewedEstablishedB
- DocdexFast per-repo documentation indexer and full-text search MCP server for codebases.not reviewedGrowingB