searchcode
MCP server providing structured code intelligence for LLMs. Analyze, search, and retrieve
searchcode is an MCP server that provides structured code intelligence for large language models, letting them analyze, search, and retrieve code from public git repositories without cloning them. It addresses the token and tool-call overhead AI assistants face when investigating unfamiliar codebases, returning pre-computed structured data instead of raw files. A web interface accepts a GitHub URL to generate a repository dossier covering languages, complexity, tech stack, and code quality, with side-by-side comparison of two repositories.
The service exposes six tools: code_analyze (language breakdowns, complexity metrics, tech stack detection, code quality, and secret scanning via security_summary), code_search (full-text search with boolean, regex, and structural filters), code_get_file (full files, line ranges, or symbols with adjacent declarations), code_get_files (batch retrieval of up to 10 files), code_file_tree (directory structure with filters and fuzzy file finding), and code_get_findings (severity- and category-filtered quality and insecure-code findings). It integrates with Claude Code, Cursor, VS Code/Copilot, Claude Desktop, Gemini CLI, Amp, OpenCode, Crush, Codex, and LM Studio, and offers a REST API as an alternative to MCP. An Enterprise edition ships as a Docker image with a Helm chart for Kubernetes, supporting SSH key and HTTPS token authentication for private repositories. The hosted service is free during beta with no signup or API key.
12 alternatives to searchcode
Ranked by how well each tool replaces searchcode: shared features, audience, price and popularity.
Code understanding for humans and agents
Covers 7 of 15 key features and is open source.
Free planOpen source60 out of 100 match$20/mo- 59 out of 100 match—
Search smarter with SearchGPT Plus, your free Chat GPT alternative for writing, learning &
Covers 2 of 15 key features.
Free plan59 out of 100 matchFreeSearch without being tracked
Covers 5 of 15 key features and is open source.
Free planOpen source59 out of 100 matchFree- 59 out of 100 matchFree
Document conversion from images and PDFs to LaTeX, Markdown and other formats
Covers 3 of 15 key features.
Free plan58 out of 100 match$2,083.33/moThe web data API to search, scrape, and interact with the web at scale, turning websites L
Covers 2 of 15 key features and is open source.
Free planOpen source58 out of 100 match$16/moThe global archive of research material for investigative reporting.
Covers 1 of 15 key features.
Free plan57 out of 100 matchFree- 57 out of 100 matchContact sales
- 57 out of 100 match$9/mo
The open source AI coding agent
Covers 0 of 15 key features and is open source.
Free planOpen source57 out of 100 matchFree