Paste a URL for an instant code intelligence dossier—languages, complexity, tech stack, code quality. Or add the MCP server so Claude Code, Cursor, Codex, and Copilot can do the same from inside your editor.
Paste a GitHub URL or owner/repo—get a full dossier in seconds. No install.
Or compare two repos side-by-side: redis vs memcached →
Add the MCP server. Your assistant gets the same six tools—code_analyze, code_search, code_get_file, and three more—over any public repo.
claude mcp add searchcode --transport http https://api.searchcode.com/v1/mcpCopy
{"mcpServers":{"searchcode":{"url":"https://api.searchcode.com/v1/mcp"}}}
Copy
{"mcp":{"servers":{"searchcode":{"url":"https://api.searchcode.com/v1/mcp"}}}}
Copy
{"mcpServers":{"searchcode":{"command":"npx","args":["-y","mcp-remote","https://api.searchcode.com/v1/mcp"]}}}
Copy
Using OpenCode, Crush, Codex, Gemini CLI, Amp, or LM Studio? Full setup guide →
What happens when your AI assistant has to understand a new repo:
Same answer. 100× cheaper. No setup.
Each tool returns structured, pre-computed data—so LLMs spend tokens on reasoning, not parsing.
Try the live API right here—search code or analyze a repository.
Built for LLMs. Works for humans too.
The stuff that eats your afternoon—searchcode handles in seconds.
searchcode.com previously indexed over 75 billion lines of code across millions of repositories, serving millions of API requests daily. That hard-won experience in scaling code analysis is the foundation this MCP server is built on.
Under the hood: scc for code counting & complexity analysis, and cs for 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%.
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"}'
POST /api/v1/{tool_name}. See the OpenAPI spec for full docs.searchcode is powered by battle-tested open-source projects.
Paid tiers are planned long-term, but a free tier will likely always be available.
Need to run on private code? Contact us about enterprise deployment.
Need help? ben@boyter.org — @boyter on X