# searchcode MCP Server - Server URL: https://api.searchcode.com/v1/mcp - Well-known: https://api.searchcode.com/.well-known/mcp.json - Transport: Streamable HTTP > Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository. searchcode.com provides an MCP server that gives LLMs structured access to code intelligence tools for any public git repository — no pre-built index required. Point it at a repo URL and get language breakdowns, complexity metrics, tech stack detection, static analysis, security scanning, full-text code search, and file retrieval. ## Tools - **searchcode_analyze**: Analyze a repository — languages, complexity, tech stack, code quality, security issues - **searchcode_search**: Search code with boolean queries, regex, structural filters (declarations, usages, strings, comments) - **searchcode_get_file**: Retrieve file contents or line ranges - **searchcode_get_files**: Batch retrieve up to 10 files in a single call with a 5,000 total lines budget. Each file supports optional line ranges. Failed files return per-file errors without blocking other files. - **searchcode_file_tree**: List directory structure with language/path/depth filters - **searchcode_get_findings**: Returns detailed code quality findings including rule IDs, line numbers, severity (error, warning, info), and categories (security, deprecated, safety, correctness, maintainability, accessibility, modernization, performance, concurrency). Supports filtering by file path, severity, and category. ## Documentation - [Full LLM Documentation](https://searchcode.com/llms-full.txt): Complete tool reference with parameters, response shapes, error codes, and example workflows