
Codesearch
io.github.SK-DEV-AIPublished by GitHub account SK-DEV-AIv1.0.1Updated Oct 24, 2026
Code, package, docs, paper and vulnerability search. 17 tools, keyless lanes.
Overview
Local MCP server that lets an assistant search code, packages, docs, papers, vulnerabilities and Q&A communities across many sources.
- What you can do
- Search code, docs and symbols inside indexed npm, PyPI and crates dependencies, and list or read their files
- Analyze a GitHub repository (metadata, code quality, wiki architecture) and search within it, list its file tree and read files
- Query package registries for versions, dependencies and advisories, and get composite package intelligence including changelog and upgrade review
- Look up vulnerabilities, licenses and latest versions, with NVD enrichment
- Fetch documentation, Stack Overflow answers, Hacker News discussions and academic papers
- Enrich result lists with full content, deduplicate and rerank, plus a connectivity check
- When to use it
- Useful when you need research across code, packages, documentation, papers and vulnerability data in one place, for example evaluating a dependency, reviewing an upgrade, or getting oriented in an unfamiliar repository.
- Requirements
- Runs locally over stdio as a Python package (Python 3.14+), installed from PyPI or run via Docker. Many lanes work without keys; optional keys such as GITHUB_TOKEN, CONTEXT7_API_KEY, TAVILY_KEYS, S2_API_KEY, SE_API_KEY, SOFA_KEY, LI_KEY, OSS_TOKEN, FIRECRAWL_KEYS, NV_KEY and GROQ_API_KEYS raise rate limits or enable extra lanes. Network access required.
Installation
In SourceWeft
- Open Codesearch in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
codesearch MCP Server
mcp-name: io.github.SK-DEV-AI/codesearch
Companion agent skills: SK-DEV-AI/skills · npx skills add SK-DEV-AI/skills
Code, package, docs, and paper search MCP server. Per-package source navigation (npm/PyPI/crates), per-repo intelligence (GitHub URL or owner/repo), Q&A communities, vulnerability data, documentation, and academic papers — with embedding dedup and a local cross-encoder reranker.
Tools (17)
- analyze — Start here for unfamiliar repos: GitHub metadata + code quality + wiki architecture in one call (10–15s).
- search_all — Broad multi-source discovery (Context7, GitHub, DeepWiki, CodeWiki, SO, HN, Libraries.io, npm, DevDocs, Semantic Scholar, Tavily…). For surgical single-source work call the tool below directly.
- code_search — Search code/docs/symbols across indexed dependencies (
target=npm:express). npm/PyPI/crates only — for GitHub repos usesearchcodeoranalyze. - code_files / code_read — List files / read a file in an indexed dependency by package spec.
- searchcode — Per-repo intelligence:
analyze(overview),search(code within the repo),findings(quality issues),file_tree,get_file. Needsrepositoryfor every action. Free, no auth. - wiki — Repo architecture Q&A via DeepWiki + CodeWiki. Single repo (
owner+repo) or up to 10 repos (repos). - search_package — Raw registry queries: versions, dist-tags, deps.dev graphs, advisories (
version='latest'OK). For composite intelligence usepkg. - pkg — Composite package intelligence: metadata, changelog, upgrade review (vulns + changelog + deps diff), file list/read.
- search_libraries — Libraries.io metadata and source rank. Compare dependency candidates, find the repo behind a package.
- vulns — Sonatype Guide + keyless OSV.dev fallback:
scan(needs platform+name+version),detail(needs vuln_id; enriched with NVD CVSS/CWE/references),latest_version/license(need purl). - docs — Docs with smart fallback (Context7 → ReadTheDocs → llms.txt → DevDocs); then
fetch(url)ordevdocs_fetch_contentfor full pages. - so_search — Stack Overflow:
stackexchange(authoritative resolved answers) orsofa(fresher agent content, needsSOFA_KEY). - hn — Hacker News discussion and sentiment (search, stories, items, users).
- papers — Academic papers. Prefer
action=search(S2 → arXiv → OpenAlex → CORE fallback chain);arxiv_searchis single-source and rate-limited. - enrich — Fetch full content for a result list from any search tool, dedup + rerank.
- ping — Connectivity check. Use before expensive calls when uncertain.
Setup
Requires Python 3.14+.
Point your MCP client at run (stdio):
API keys (run)
Install from PyPI
The codesearch-mcp console script speaks MCP over stdio:
Docker
Keys are passed at run time, never baked in: -e GROQ_API_KEYS=....
Heavy extras: docker build --build-arg EXTRAS="[all]" -t codesearch-mcp .
Notes
- Reranker (optional, local): shared with the websearch server — one cross-encoder worker over a Unix socket. Without it, results return unranked; everything still works.
- Caching: per-source file caches with TTLs; repeat queries are cheap.
- Safety: all user-URL fetches are SSRF-validated (private-IP blocking + redirect-hop revalidation).
Source: README.md at commit 022c3cc
Tools
0Version history
1- v1.0.1LatestOct 23, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts