searchcode
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Connect it
Settings → Connectors → Add custom connector
URL: https://api.searchcode.com/v1/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://api.searchcode.com/v1/mcp{
"mcpServers": {
"mcp": {
"url": "https://api.searchcode.com/v1/mcp"
}
}
}claude mcp add --transport http mcp https://api.searchcode.com/v1/mcp{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.searchcode.com/v1/mcp"
}
}
}7 tools, pulled live
code_analyzeInstant 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 covering API keys, access tokens, private keys and connection strings, each with a file, a line and a conf
code_searchFast 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 secrets? Call code_analyze instead and read security_summary — it runs a real secret and credential sca
code_get_fileGet 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 fetching entire files and keeps context focused. Only fetch full files when you need a broad understandi
code_file_treeList 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. Results capped at 1000 files; response includes total_files, files_shown, and truncated fields. Use language
code_get_filesGet 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 without blocking other files.
code_get_findingsGet 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, accessibility, modernization, performance, concurrency), and kind (security, quality) — kind=security is
code_find_usagesFind 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 hand. Returns file, line, evidence keyword and language. COVERAGE LIMIT: technology detection reads onl
Alternatives in Search & Research
Compare →RTRef Tools MCPA
Token-efficient search for coding agents over public and private documentation.
Market Research Trends MCPA
See if a market is heating or cooling. Trend volume and growth signals. Free key at trendsmcp.ai
Trends MCPA
Trend data from Google Trends, YouTube, TikTok, Reddit, Amazon, Wikipedia, npm, Steam and more
Himalayas Remote JobsA
Remote jobs: job search, salary data and application tracking, or post a job and hire candidates
FBfojin — Buddhist Canon ToolsA
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
Cellarion Wine RegistryA
Public wine registry and guides: search wines, grapes, regions, appellations. No account.