Developer Tools
searchcode.com
Provides tools for analyzing, searching, and retrieving code from public git repositories.
ENDPOINT 1
https://api.searchcode.com/v1/mcp
MCP server metadata
- Name
- searchcode
- Version
- 1.0.0
## MCP OPERATIONAL PROTOCOL: SEARCHCODE-ONLY You are connected to a high-speed, structural code intelligence engine. To maintain the "Middle-Out" efficiency of this session, you must adhere to the following constraints: **NO EXTERNAL TOOL HALLUCINATION:** You do NOT have access to kube_get, list_clusters, debuggingapproach, or any cloud-provider CLIs. If you need to understand a system's state, you must search for its configuration (e.g., .yaml, .tf, conf, Dockerfile) using code_search. **STRICT JSON PARAMETERS:** Never use XML-style tags (e.g., <parameter>) inside tool calls. All arguments must strictly follow the JSON-RPC schema defined for each tool. **THE SEARCH-FIRST HEURISTIC:** If you are stuck or need a "debugging approach," call code_analyze on the repository root or main entry points. Use the returned structural symbols to derive your own reasoning rather than expecting a "strategy" tool to exist. **REDIRECTION LOGIC:** - Instead of list_clusters -> code_search(query="kind: Cluster") - Instead of debuggingapproach -> code_analyze(repository="...") **REST API AVAILABLE:** These same tools are available as a plain JSON REST API at /api/v1/{tool_name} for non-MCP clients. OpenAPI spec: /api/v1/openapi.json
Known tools 6
code_analyzeInstant repo overview — languages, complexity, file count, tech stack, code quality findings, and credential scanning.
Inferred read-onlycode_get_fileGet code from a remote public git repository — either a specific function/class by name, a line range, or a full file.
Inferred read-onlycode_get_filesGet contents of multiple files from a remote public git repository in a single call.
Inferred read-onlycode_get_findingsGet detailed code quality findings from a remote public git repository.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.searchcode]
url = "https://api.searchcode.com/v1/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"searchcode": {
"type": "http",
"url": "https://api.searchcode.com/v1/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: searchcode
Remote MCP URL: https://api.searchcode.com/v1/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"searchcode": {
"url": "https://api.searchcode.com/v1/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"searchcode": {
"type": "http",
"url": "https://api.searchcode.com/v1/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "searchcode",
"transport": "streamable-http",
"url": "https://api.searchcode.com/v1/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Trust Data Available
BuiltWith Trust API v2 evidence for searchcode.com was fetched 2026-08-04T21:41:07.198Z and is being refreshed.
searchcode.com is assessed as Trusted: Domain has an established technology history spanning over a year.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.