searchcode.com — Code Intelligence for LLMs
About
Structured access to code analysis, search, and retrieval for any public git repository—purpose-built for large language models.
Details
- Author
- Unknown
- Categories
- Search, Developer Tools, Other, Knowledge Base
Jump to
searchcode.com — Code Intelligence for LLMs
Structured access to code analysis, search, and retrieval for any public git repository—purpose-built for large language models.
claude mcp add searchcode --transport http https://api.searchcode.com/v1/mcp
{"mcpServers":{"searchcode":{"url":"https://api.searchcode.com/v1/mcp"}}}
{"mcp":{"servers":{"searchcode":{"url":"https://api.searchcode.com/v1/mcp"}}}}
{"mcpServers":{"searchcode":{"command":"npx","args":["-y","mcp-remote","https://api.searchcode.com/v1/mcp"]}}}
Claude GPT Gemini Grok Kimi DeepSeek Mistral Qwen Llama
Each tool returns structured, pre-computed data—so LLMs spend tokens on reasoning, not parsing.
Language breakdowns, complexity metrics, tech stack detection, code quality, and security scanning. Scope to a subdirectory for large monorepos.
Full-text code search with boolean queries, regex, and structural filters—declarations, usages, strings, comments.
Retrieve full files, line ranges, or specific symbols by name. Include adjacent declarations for context in a single call.
Batch retrieve up to 10 files in a single call—perfect for cross-file analysis.
Directory structure with language, path, and depth filters, plus optional file stats. Fuzzy file finder to locate files by partial name.
Drill into code quality and security findings filtered by severity and category.
Try the live API right here—search code or analyze a repository.
repository:https://github.com/expressjs/express
The stuff that eats your afternoon—searchcode handles in seconds.
Skip cloning, skip setup. Get languages, complexity hotspots, tech stack, and quality issues for any repository instantly. The full picture in seconds, not hours of poking around.
Find hardcoded credentials, quality issues by severity, and security findings across any public repo. Check before you ship it or depend on it—no tooling setup required.
Evaluate a library before you integrate it
Full evaluation without cloning—zero disk footprint, zero setup. Analyze tech stack, API surface, code quality, and dependency overlap in seconds. Structured results save bandwidth and tokens compared to cloning and parsing raw files.
Stack two libraries side by side with hard numbers: complexity, code quality, tech stack, and size. Make adoption decisions based on data, not GitHub stars.
READMEs lie. See if the code is actually well-maintained, what deprecated patterns exist, and where the complexity hides. Know what you're importing before it's in your dependency tree.
Acquisition, contractor handoff, or new team—get an honest picture of what you're walking into. Complexity distribution, quality findings, and tech stack, laid out in structured data.
Search for a symbol, pull the exact function, see surrounding context. Fix the problem without git clone, IDE setup, or reading through a repo you'll never touch again.
Purpose-built MCP tools that feed LLMs code intelligence in structured format. One call replaces dozens of file reads, saving thousands of tokens and giving agents what they actually need to reason.
Research how other projects solved the same problem
Survey how multiple open-source projects implement the same feature before building yours. Search across repos for patterns, compare approaches, and read specific implementations—all without cloning a single repo.
Screen candidates through their public repos
Build a portfolio-level picture from a candidate's public repositories. Compare language proficiency, complexity handling, code quality, and engineering patterns across repos—real evidence of what they build, not what they claim.
searchcode.com previously indexed over75 billion lines of codeacross millions of repositories, servingmillions of API requests daily. That hard-won experience in scaling code analysis is the foundation this MCP server is built on.
Under the hood:sccfor code counting & complexity analysis, andcsfor code search with smart ranking—two battle-tested open-source tools by the same author. Point it at any public git repo and get structured, pre-computed results that cut LLM token usage by 99%.
“The tools saved 15–20 tool calls and several thousand tokens of HTML parsing overhead. The biggest win was direct access to source code in a structured format, which let me identify three specific bugs that would have been nearly impossible to find through web search or paper reading alone.”
“The searchcode tool suite was fundamental to my analysis. It enabled a workflow that is impossible with conventional methods, allowing me to move from a high-level architectural overview of a repository to the specific, impactful lines of code in just a few queries. The tools’ speed and precision were critical in uncovering the ‘why’ behind a project’s design—from identifying critical performance optimizations to understanding core architectural patterns. This rapid, evidence-based discovery goes far beyond simple keyword searching and allows for a true, deep understanding of a codebase.”
“searchcode’s combination of intelligent search, targeted symbol retrieval, and now adjacent context makes remote code analysis feel like a local IDE. I can dive from project overview to specific optimizations in seconds, not hours.”
Deploy searchcode on your own infrastructure. Ships as a Docker image with a Helm chart for Kubernetes. SSH key and HTTPS token authentication for private git repositories. Your git server controls permissions—searchcode respects what’s already in place.
No install, no API key. Just add the server URL to your MCP client.
Not using MCP?Use the REST API instead ↓
claude mcp add searchcode \ --transport http \ https://api.searchcode.com/v1/mcp
claude mcp add searchcode \ --scope user \ --transport http \ https://api.searchcode.com/v1/mcp
{ "mcpServers": { "searchcode": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.searchcode.com/v1/mcp" ] } } }
{ "mcpServers": { "searchcode": { "url": "https://api.searchcode.com/v1/mcp" } } }
{ "mcp": { "servers": { "searchcode": { "url": "https://api.searchcode.com/v1/mcp" } } } }
{ "mcpServers": { "searchcode": { "httpUrl": "https://api.searchcode.com/v1/mcp" } } }
{ "amp.mcpServers": { "searchcode": { "url": "https://api.searchcode.com/v1/mcp" } } }
{ "mcp": { "searchcode": { "type": "remote", "url": "https://api.searchcode.com/v1/mcp" } } }
{ "mcp": { "searchcode": { "type": "http", "url": "https://api.searchcode.com/v1/mcp" } } }
[mcp_servers.searchcode] url = "https://api.searchcode.com/v1/mcp"
{ "mcpServers": { "searchcode": { "url": "https://api.searchcode.com/v1/mcp" } } }
Works with any MCP client that supports remote servers via streamable HTTP. No dependencies to install—searchcode runs server-side.
curl -X POST \ "https://api.searchcode.com/api/v1/code_analyze?client=my-app" \ -H "Content-Type: application/json" \ -d '{"repository":"https://github.com/expressjs/express"}'
All 6 tools available asPOST /api/v1/{tool_name}. See theOpenAPI specfor full docs.
searchcode is powered by battle-tested open-source projects.
Fast, accurate code counter with complexity calculations. Supports 300+ languages.
Same 6 tools as plain JSON over HTTP. No MCP client needed—just POST and go.
Code-aware smart ranking, regex, and structural filters. Built for speed.
Implements the Model Context Protocol for seamless LLM integration.
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
An MCP (Model Context Protocol) server providing tools to query Gravitational Wave (GW) data from GraceDB and GWOSC.
Interact with the GitHub API for file operations, repository management, and search.
An MCP server that makes documentation and codebases searchable for AI assistants, supporting local directories and Git repositories.
Anchor is local repo and org memory for AI coding agents. It indexes GitHub PR history, current code, tests, regressions, architecture, and cross-repo impact locally, then exposes concise cited context through MCP and CLI workflows. Local-first. Read-only GitHub access. No CLI telemetry. No SaaS. No remote LLM calls.
Search Spryker packages, documentation, and code within Spryker GitHub repositories using natural language.
Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.
Semantic code search for AI agents without indexing your codebase or storing any data. Fast and accurate.
Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.
Word search, crossword, and sudoku generator MCP server with printable PDF worksheets, themed word banks, and verifiable LLM evals. Local-first, from the makers of puzzletide.com.
Official MCP server for Stimulsoft Reports & Dashboards documentation. Semantic search across FAQ, Programming Manual, Server/User Manual, and Server/Cloud API for .NET, WPF, Avalonia, WEB, Blazor, Angular, React, JS, PHP, Java, and Python platforms.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




