MCP server
searchcode Official
com.searchcode/mcp
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Working at last checkVerified publisher: searchcode.comAbout 5,552 tokens per request once connected7 tools
https://api.searchcode.com/v1/mcp
At a glance
- Type
- MCP server
- Publisher
- searchcode.com (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 7
- Token cost
- About 5,552 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http searchcode https://api.searchcode.com/v1/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.searchcode] url = "https://api.searchcode.com/v1/mcp"
Gemini CLI
{"mcpServers":{"searchcode":{"httpUrl":"https://api.searchcode.com/v1/mcp"}}}
Cursor
{"mcpServers":{"searchcode":{"url":"https://api.searchcode.com/v1/mcp"}}}
VS Code
{"servers":{"searchcode":{"type":"http","url":"https://api.searchcode.com/v1/mcp"}}}
Antigravity
agy mcp add searchcode https://api.searchcode.com/v1/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"searchcode","server_url":"https://api.searchcode.com/v1/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"searchcode","server_url":"https://api.searchcode.com/v1/mcp"}
Tools
code_analyze~925 tokens
Instant repo overview — languages, complexity, file count, tech stack, code quality findings, and secret scanning. Use as your first call to understand any remote public codebase. This is the tool that scans for LEAKED CREDENTIALS: security_summary is a dedicated secret and credential scanner covericode_file_tree~703 tokens
List files and directories in any public git repo. Supports fuzzy file search (query parameter), language/path filtering, and depth control. Combine query with path_filter to search within a directory subset. Use to explore project layout, find files by name, or browse specific directories. Resultscode_find_usages~614 tokens
Find which files in a repository use a given technology, library or framework — with the line number and the import keyword that proves it. Use after code_analyze reports a technology in tech_stack and you need to know which files it is actually in, rather than searching for import statements by hancode_get_file~743 tokens
Get code from a remote public git repository — either a specific function/class by name, a line range, or a full file. PREFERRED WORKFLOW: When search results or findings have already identified a specific function, method, or class, use symbol_name to extract just that declaration. This avoids fetccode_get_files~425 tokens
Get contents of multiple files from a remote public git repository in a single call. Reduces round-trips when you need to read several related files. Max 10 files per batch, 5000 total lines budget across all files. Each file supports optional line ranges. Failed files return per-file errors withoutcode_get_findings~980 tokens
Get detailed code quality findings from a remote public git repository. Returns rule IDs, line numbers, severity, category, descriptions, and source snippets. Supports filtering by file path, severity (error, warning, info), category (security, deprecated, safety, correctness, maintainability, accescode_search~1162 tokens
Fast code search across any public git repo. Returns file paths, line numbers, and code snippets with context. Supports regex, boolean queries, fuzzy matching, and structural filters (declarations, usages, strings, comments). Dependency/build directories excluded by default. Searching for leaked sec
Browse
Related MCP servers
- Gread
An MCP server that gives your AI access to the source code and docs of all public github repos - CollectSEA
Find real software, security and AI-agent failures that resemble your design, with safeguards. - Hokmah
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro). - There's An AI For That
Search TAAFT for AI tools and retrieve public tool details. - BTCDecoded Intelligence
Cited Bitcoin coordination record search (~783k). Lightning. MCP. Not prices/chain analytics. - pg.ddx.io: the PostgreSQL community's memory
Every PostgreSQL mailing list since 1991, linked to the commits, code, commitfest and docs. - Fuze Data Tools
No-code web scraping & data-extraction Apify actors: scrape and enrich web data at scale. - SENTn Opportunity Intelligence
Search and retrieve SENTn public software opportunity snapshots for founders and AI agents.
Badge for your README
[](https://aptlynx.net/servers/com.searchcode/mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents