MCP Repo Search Server MCP Server

MCP server for multi-repository AST-based symbol search and API route discovery

Local serverstdioTypeScript

What is the MCP Repo Search Server MCP Server?

MCP server for multi-repository AST-based symbol search and API route discovery

What you get

Unlike grep-style text search, Repo Lens uses ast-grep (written in Rust) to parse code into Abstract Syntax Trees:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
pathsAd-hoc directory paths to search (comma-separated, no registration needed)
repoFilterFilter registered repositories by alias
repolens_find_functionsFind function/method definitions in JS/TS and PHP (supports wildcards like handle*)
repolens_find_classesFind class definitions (also finds PHP traits)
repolens_find_typesFind interfaces and type aliases (PHP: interfaces only)
repolens_find_api_routesMap API endpoints across Express, NestJS, Fastify, Laravel

How to install the MCP Repo Search Server MCP Server

{
  "mcpServers": {
    "repo-lens": {
      "command": "npx",
      "args": [
        "-y",
        "repo-lens-mcp",
        "--config",
        "/home/user/repolens.yaml"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use MCP Repo Search Server to paths.”
  • “Use MCP Repo Search Server to repoFilter.”
  • “Use MCP Repo Search Server to repolens find functions.”

Frequently asked questions

MCP server for multi-repository AST-based symbol search and API route discovery Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.