searchcode
searchcode.com
- Free plan
- Web
- API
- Self-hosted
What searchcode is
searchcode helps developers examine public GitHub repositories through code analysis, search, and file retrieval. Its MCP server gives AI assistants six tools, also available as JSON over HTTP through the REST API. Analysis covers language breakdowns, complexity, technology-stack detection, code quality, and secret scanning. The credential scanner reports detected API keys, tokens, or private keys with file, line, and confidence information. Code search handles full-text queries, boolean logic, regular expressions, and structural filters for declarations, usages, strings, and comments. File retrieval can return whole files, line ranges, or named symbols alongside nearby declarations; batch retrieval handles up to 10 files per call. The free beta is for public GitHub repositories and requires no signup, API key, or installation. Enterprise deployment runs on customer infrastructure, and private repositories can connect with SSH keys or HTTPS tokens, with access governed by the customer’s git server. The project is built on scc and cs, and setup instructions cover several coding assistants and IDE environments.
Who it suits
It suits developers and AI-assistant users who need to inspect public GitHub code or retrieve repository context. Organizations needing private deployment can run it on their infrastructure and connect private repositories.
Good to know, and what to watch
- Six MCP tools are also available through a JSON REST API.
- Search supports regex, boolean queries, and structural filters.
- Credential scans include file, line, and confidence details.
- Batch retrieval handles up to 10 files per call.
- Free beta requires no signup, API key, or installation.
- Free beta covers public GitHub repositories.
- Private deployment is an enterprise option.
- No IDE extensions are listed.
Plans
Every plan and priceFree during beta
Free plan
Getting started
- Open searchcode.com
- Use the free beta for public GitHub repositories without signup, an API key, or installation
- Connect an AI assistant through the MCP setup instructions
- Call tools through the REST endpoint POST /api/v1/{tool_name} when using HTTP
- For private repositories, configure SSH-key or HTTPS-token authentication
- For enterprise deployment, run the Docker image with the Kubernetes Helm chart
Limits to check
The free beta is limited to public GitHub repositories. The code_get_files tool retrieves up to 10 files per call.
The verdict
searchcode combines repository search, analysis, credential scanning, and contextual file retrieval in a single toolset. Its free beta is limited to public GitHub repositories, while private repositories require customer-managed deployment and authentication.
Questions people ask
Does searchcode cost anything?
The listed beta plan is free at no cost. It covers public GitHub repositories without signup or an API key.
Which assistants have setup instructions?
Instructions are provided for Claude Code, Claude Desktop, Cursor, VS Code/Copilot, Gemini CLI, Amp, OpenCode, Crush, Codex, and LM Studio.
Can it search private repositories?
Yes. Private repositories can use SSH-key or HTTPS-token authentication, with permissions controlled by the customer’s Git server.
Is there a REST API?
Yes. All six tools are available as JSON over HTTP through POST /api/v1/{tool_name}.
How many files can batch retrieval return?
The code_get_files tool retrieves up to 10 files in one call.
What the maker publishes
- Batch limit
- The code_get_files tool retrieves up to 10 files in one call. source
- Code analysis
- The code_analyze tool provides language breakdowns, complexity metrics, tech-stack detection, code-quality analysis and secret scanning. source
- Code search
- The code_search tool supports full-text search, boolean queries, regular expressions and structural filters for declarations, usages, strings and comments. source
- File retrieval
- The code_get_file tool retrieves full files, line ranges or named symbols with adjacent declarations for context. source
- Integrations
- Setup instructions are provided for Claude Code, Claude Desktop, Cursor, VS Code/Copilot, Gemini CLI, Amp, OpenCode, Crush, Codex and LM Studio. source
- Maker
- The about page says searchcode is operated by a single developer and is made in Sydney, Australia by Ben Boyter. source
- MCP integration
- Its MCP server exposes six tools for AI assistants over public repositories. source
- Open-source foundation
- Searchcode is built on scc for code counting and complexity analysis, supporting more than 300 languages, and cs for code search and smart ranking. source
- Privacy
- The about page says searchcode does not capture or store personally identifiable information and generally uses aggregate data. source
- Private deployment
- Enterprise deployment runs on the customer’s infrastructure as a Docker image with a Helm chart for Kubernetes. source
- Private repository access
- Private Git repositories can use SSH-key and HTTPS-token authentication, with permissions controlled by the customer’s git server. source
- Purpose
- Searchcode provides code intelligence dossiers for public GitHub repositories, including languages, complexity, tech stack and code quality. source
- REST API
- All six tools are available as JSON over HTTP through POST /api/v1/{tool_name}. source
- Scale
- The maker says searchcode previously indexed more than 75 billion lines of code across millions of repositories and served millions of API requests daily. source
- Secret scanning
- The security_summary credential scanner detects API keys, tokens and private keys with file, line and confidence information. source
- Support
- Support is available by email at [email protected]. source
Checked against the maker's pages on 1 Oct 2026.