searchcode MCP MCP server
An official MCP server by searchcode that provides code intelligence for LLMs. It allows agents to analyze, search, and retrieve code from any public git repository without cloning. Features include code analysis for complexity and security, full-text search, file retrieval, and directory tree inspection, enabling efficient code understanding and due diligence.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
No sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://api.searchcode.com/v1/mcpWhat you can do with it
- Analyze a new codebase for tech stack and complexity
- Scan public repositories for hardcoded secrets
- Search code using boolean queries and regex
- Retrieve specific files or symbols by name
code_analyzecode_searchcode_get_filecode_file_treecode_get_filescode_get_findingscode_find_usages
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http searchcode-mcp https://api.searchcode.com/v1/mcpCodex
Codex configuration
codex mcp add searchcode-mcp --url https://api.searchcode.com/v1/mcpCursor
Cursor configuration
{
"mcpServers": {
"searchcode-mcp": {
"url": "https://api.searchcode.com/v1/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"searchcode-mcp": {
"type": "streamableHttp",
"url": "https://api.searchcode.com/v1/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"searchcode-mcp": {
"type": "http",
"url": "https://api.searchcode.com/v1/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http searchcode-mcp https://api.searchcode.com/v1/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"searchcode-mcp": {
"url": "https://api.searchcode.com/v1/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"searchcode-mcp": {
"serverUrl": "https://api.searchcode.com/v1/mcp"
}
}
}Other developer tools servers
Do you run searchcode MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.