Repo Lens MCP Server
Allows discovery of API routes in Express.js projects, extracting route patterns and HTTP methods.
Allows discovery of API routes in Fastify projects, extracting route patterns and HTTP methods.
Allows discovery of API routes in Laravel projects, extracting route patterns and HTTP methods.
Allows discovery of API routes in NestJS projects, extracting route patterns and HTTP methods.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Repo Lens MCP Serverfind the createUser function in all repos"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Repo Lens MCP Server
Cross-repository code intelligence for developers.
Search functions, classes, and API routes across all your local JS/TS and PHP repositories without switching context.
Why Use This?
The problem: You're working in your frontend repo and need to find a backend API endpoint. Or you're debugging and need to find where a function is defined across your monorepo. With Claude Code, you can search the current repository, but what about your other local projects?
The solution: Repo Lens lets you declare your repositories once in a YAML config file — or search any directory ad-hoc — and search across all of them simultaneously using AST-based structural search. Find the exact function signature, class definition, or API route you need without leaving your current context.
Use Cases
Frontend + Backend development: Search backend API routes while working in your frontend repo
PHP + JS/TS projects: Find PHP classes, traits, and interfaces alongside TypeScript types
Microservices architecture: Find function definitions across multiple services
Monorepo navigation: Search across packages without switching directories
Code exploration: Understand how different projects in your ecosystem connect
Related MCP server: OrgBrain MCP Server
Quickstart
npx repo-lens-mcpKey Features
AST-Based Intelligence
Unlike grep-style text search, Repo Lens uses ast-grep (written in Rust) to parse code into Abstract Syntax Trees:
Structural accuracy: Distinguish between
class Userandconst UserExport awareness: Find only exported functions, or include private ones
Signature extraction: Get full function signatures, not just names
Zero-Friction Search
Search any directory instantly with the paths parameter — no configuration required:
Pass directory paths directly to any search tool
Declare persistent repos in
repolens.yamlwith aliases for repeated useMix both: registered repos + ad-hoc paths in the same query
Multi-Repository Search
Declare your repositories once and search them all at once:
Static YAML config — declare once, search always
Filter by repository alias or search all
Results include repository context
API Route Discovery
Map all API endpoints across Express, NestJS, Fastify, and Laravel projects. Find that /users/:id endpoint in seconds.
Installation
Claude Desktop / VS Code (Recommended)
Add this to your claude_desktop_config.json (or VS Code MCP settings):
{
"mcpServers": {
"repo-lens": {
"command": "npx",
"args": ["-y", "repo-lens-mcp", "--config", "/home/user/repolens.yaml"]
}
}
}Restart Claude, and you're ready to go.
Local Development
git clone https://github.com/YohannHommet/repo-lens-mcp.git
cd repo-lens-mcp
pnpm install
pnpm build
pnpm devConfiguration
Config File (repolens.yaml)
Create a YAML config file declaring your repositories:
# repolens.yaml
repositories:
- path: ~/projects/backend-api
alias: backend
- path: ~/projects/frontend-app
alias: frontend
- path: ~/projects/shared-lib~ is expanded to your home directory automatically.
Config Path Resolution
--config <path>CLI argument (explicit — fails if file not found)Default:
~/.config/repo-lens-mcp/repolens.yaml(graceful — returns empty if not found, ad-hoc paths still work)
Environment Variables
Variable | Default | Description |
|
| Log level: |
Example:
{
"env": {
"MCP_LOG_LEVEL": "debug"
}
}Capabilities
Repository Listing (1 tool)
Tool | Description |
| List all configured repositories (read-only) |
Symbol Search (3 tools)
AST-based structural search powered by ast-grep. Supports JavaScript/TypeScript and PHP (classes, traits, interfaces, enums, functions, methods, constants):
Tool | Description |
| Find function/method definitions in JS/TS and PHP (supports wildcards like |
| Find class definitions (also finds PHP traits) |
| Find interfaces and type aliases (PHP: interfaces only) |
All search tools accept:
paths— Ad-hoc directory paths to search (comma-separated, no registration needed)repoFilter— Filter registered repositories by alias
API Route Discovery (1 tool)
Tool | Description |
| Map API endpoints across Express, NestJS, Fastify, Laravel |
Usage Examples
1. Search Any Directory (No Configuration)
"Find all functions starting with 'handle' in my backend"
repolens_find_functions(paths: "/home/user/projects/backend", name: "handle*")2. List Configured Repos
"What repos are available?"
repolens_list_repositories()3. Find an API Endpoint
"Find the Express route that handles POST requests to /login"
repolens_find_api_routes(repoFilter: "backend", method: "POST", pathPattern: "/login")4. Find a Specific Class
"Where is the UserService class defined?"
repolens_find_classes(name: "UserService")What About Text Search / File Operations?
Repo Lens focuses on multi-repository AST-based search. For text search and file operations within your current repository, use Claude Code's built-in tools (Grep, Read, Glob) which are optimized for single-repo use.
This separation keeps Repo Lens fast and focused on what it does best: cross-repository structural code intelligence.
License
AGPL-3.0
This software is free to use. If you modify and distribute it (or run it as a network service), you must share your source code under the same license.
Available Tools
5 toolsrepolens_find_api_routesFind API RoutesARead-onlyIdempotent
Find API route/endpoint definitions in backend code across repositories.
Searches for HTTP route definitions in Express, Fastify, NestJS, and Laravel codebases.
Supported Frameworks: Express, Fastify, NestJS, Laravel (PHP)
Args:
method (string, optional): Filter by HTTP method: "GET", "POST", "PUT", "DELETE", "PATCH"
pathPattern (string, optional): Filter routes containing this path segment (e.g., "/users", "/api/v1")
paths (string, optional): Ad-hoc directory paths to search (comma-separated). No registration needed.
repoFilter (string, optional): Filter registered repositories by alias (comma-separated)
framework (string, optional): Filter by framework: "express", "fastify", "nestjs", "laravel"
maxResults (number, optional): Maximum results to return (default: 100)
response_format (string, optional): Output format - "markdown" (default) or "json"
Examples:
Search a directory directly: paths="/home/user/projects/api"
Find all user endpoints: pathPattern="/users"
Find POST routes in backend: repoFilter="backend-api", method="POST"
Find NestJS controllers: framework="nestjs"
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Ad-hoc directory paths to search (comma-separated). No registration needed. | |
| method | No | HTTP method (GET, POST, PUT, DELETE, PATCH) | |
| framework | No | Filter by framework (express, fastify, nestjs, laravel) | |
| maxResults | No | Maximum results (default: 100, max: 500) | |
| repoFilter | No | Filter registered repositories by alias (comma-separated) | |
| pathPattern | No | Filter by path pattern (e.g., "/users", "/api") | |
| response_format | No | Output format: "markdown" (default) or "json" |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | Yes | Number of results returned |
| results | Yes | Array of API route results |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, and non-destructive behavior, and the description consistently supports that by describing a search-only operation. It adds useful behavioral context beyond annotations, including supported frameworks, the fact that paths require no registration, and default output settings. Minor unspecified details like error behavior or exact route-detection limitations are acceptable given the annotations and output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear opening statement, Supported Frameworks section, Args list, and Examples, making it easy to scan. The Args section is somewhat redundant with the fully-described input schema, which prevents a perfect score, but the overall length is appropriate and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only search tool with an output schema, rich parameter descriptions, and strong annotations, the description is thorough: it covers scope, supported frameworks, filtering modes, ad-hoc paths, defaults, output format, and practical examples. Nothing an agent needs to decide whether to invoke this tool or how to invoke it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already has 100% parameter description coverage, so the baseline is 3. The description's Args section largely restates the schema rather than adding new meaning, though the examples do illustrate how parameters can be combined effectively. This is adequate but not additive enough to warrant a higher score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with the specific, action-oriented purpose: 'Find API route/endpoint definitions in backend code across repositories.' It names the exact resource type (HTTP route definitions) and supported frameworks (Express, Fastify, NestJS, Laravel), which clearly distinguishes it from sibling tools like repolens_find_functions and repolens_find_classes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context on what the tool searches and how to scope it, and the examples demonstrate concrete invocation patterns such as searching a directory directly with paths or filtering by repoFilter and method. It does not explicitly mention alternative sibling tools or state when not to use this tool, so it falls just short of a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
repolens_find_classesFind ClassesARead-onlyIdempotent
Find class definitions across repositories using AST analysis.
Searches for class declarations. Also finds PHP traits. Uses ast-grep for accurate structural matching.
Args:
name (string, optional): Class name pattern. Supports wildcards: "*Service", "Controller", "Base"
paths (string, optional): Ad-hoc directory paths to search (comma-separated). No registration needed.
repoFilter (string, optional): Filter registered repositories by alias (comma-separated)
language (string, optional): Filter by language: "typescript", "javascript", "php"
exportedOnly (boolean, optional): Only return exported classes (default: false)
maxResults (number, optional): Maximum results to return (default: 100)
response_format (string, optional): Output format - "markdown" (default) or "json"
Examples:
Search a directory directly: paths="/home/user/projects/api"
Find all services: name="*Service"
Find controllers in backend: repoFilter="backend", name="*Controller"
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Class name pattern | |
| paths | No | Ad-hoc directory paths to search (comma-separated). No registration needed. | |
| language | No | Filter by language (typescript, javascript, php, ts, js) | |
| maxResults | No | Maximum results (default: 100, max: 500) | |
| repoFilter | No | Filter registered repositories by alias (comma-separated) | |
| exportedOnly | No | Only return exported symbols (default: false) | |
| response_format | No | Output format: "markdown" (default) or "json" |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | Yes | Number of results returned |
| results | Yes | Array of symbol results |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds that ast-grep is used and that matching is structural rather than regex-based, which is useful. But beyond that, it mostly restates what annotations and the schema already make clear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with a clear summary and uses well-organized sections. However, the Args list largely duplicates the input schema for all seven parameters, making the definition longer than necessary. The examples and wildcard notes earn their place, but roughly half of the content is redundant with structured data.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no required parameters, all parameters are documented in the schema, and an output schema exists. The description supplies enough context for normal usage: it explains ad-hoc paths, wildcards, defaults, and gives examples. It does not explain return format details, but that is covered by the output schema. The main missing piece is explicit alternative routing, already accounted for under usage guidelines.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema carries the baseline documentation. The description adds genuine value by explaining wildcard support for the name parameter, providing default values inline, and giving concrete invocation examples. A minor omission is that the language parameter description omits the ts/js aliases present in the schema, but the schema itself remains authoritative.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Find), resource (class definitions across repositories), and method (AST analysis). It also mentions that it finds PHP traits, which distinguishes it from sibling tools like find_functions and find_types. The alignment between name, title, and description is strong.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear usage context: searches class declarations, supports ad-hoc paths without registration, and offers repo/language filtering. It gives three concrete examples. However, it never explicitly names alternative tools or states when not to use this tool, so it stops short of full guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
repolens_find_functionsFind FunctionsARead-onlyIdempotent
Find function and method definitions across repositories using AST analysis.
Searches for function declarations, arrow functions, and class methods in JS/TS and PHP. Uses ast-grep for accurate structural matching.
Args:
name (string, optional): Function name pattern. Supports wildcards: "handle*", "*Controller", "user"
paths (string, optional): Ad-hoc directory paths to search (comma-separated). No registration needed.
repoFilter (string, optional): Filter registered repositories by alias (comma-separated)
language (string, optional): Filter by language: "typescript", "javascript", "php"
exportedOnly (boolean, optional): Only return exported functions (default: false)
maxResults (number, optional): Maximum results to return (default: 100)
response_format (string, optional): Output format - "markdown" (default) or "json"
Examples:
Search a directory directly: paths="/home/user/projects/api"
Find all handlers: name="handle*"
Find exported functions in backend: repoFilter="backend", exportedOnly=true
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Function name pattern (supports wildcards like 'handle*') | |
| paths | No | Ad-hoc directory paths to search (comma-separated). No registration needed. | |
| language | No | Filter by language (typescript, javascript, php, ts, js) | |
| maxResults | No | Maximum results (default: 100, max: 500) | |
| repoFilter | No | Filter registered repositories by alias (comma-separated) | |
| exportedOnly | No | Only return exported symbols (default: false) | |
| response_format | No | Output format: "markdown" (default) or "json" |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | Yes | Number of results returned |
| results | Yes | Array of symbol results |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as read-only, idempotent, and non-destructive, and the description adds useful behavioral detail: AST-based structural matching via ast-grep, support for ad-hoc paths without registration, wildcard/filter behavior, and default result limits. It does not dwell on return shape, but the output schema covers that.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the tool's core purpose and then organized into Args and Examples sections, making it easy to scan. It is slightly longer than necessary because the Args list duplicates schema descriptions, but the structure and examples justify the length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is complete for a search tool: it states what is searched, how matching works, all parameter roles with defaults, and multiple worked examples. With annotations covering safety and an output schema defining return values, nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and each parameter already has a description, enum, or default in the input schema. The description's Args section mostly restates that information, though it adds a few clarifying details and concrete usage examples.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Find function and method definitions across repositories using AST analysis.' It further narrows the scope to function declarations, arrow functions, and class methods in JS/TS and PHP, which clearly separates it from sibling tools like find_classes, find_types, and find_api_routes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use the tool — searching for functions and methods — and offers examples for ad-hoc directory searches, wildcard matching, and repository filtering. It does not explicitly state when to prefer sibling tools, but the scope is evident and the examples demonstrate common usage patterns.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
repolens_find_typesFind TypesARead-onlyIdempotent
Find type aliases and interface definitions across repositories using AST analysis.
Searches for both "type" and "interface" declarations. For PHP, finds interface declarations (PHP has no type aliases). Uses ast-grep for accurate structural matching.
Args:
name (string, optional): Type/interface name pattern. Supports wildcards: "*Props", "Config", "I"
paths (string, optional): Ad-hoc directory paths to search (comma-separated). No registration needed.
repoFilter (string, optional): Filter registered repositories by alias (comma-separated)
language (string, optional): Filter by language: "typescript", "javascript", "php"
exportedOnly (boolean, optional): Only return exported types (default: false)
maxResults (number, optional): Maximum results to return (default: 100)
response_format (string, optional): Output format - "markdown" (default) or "json"
Examples:
Search a directory directly: paths="/home/user/projects/api"
Find all props types: name="*Props"
Find interfaces with prefix: name="I*", exportedOnly=true
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Type name pattern | |
| paths | No | Ad-hoc directory paths to search (comma-separated). No registration needed. | |
| language | No | Filter by language (typescript, javascript, php, ts, js) | |
| maxResults | No | Maximum results (default: 100, max: 500) | |
| repoFilter | No | Filter registered repositories by alias (comma-separated) | |
| exportedOnly | No | Only return exported symbols (default: false) | |
| response_format | No | Output format: "markdown" (default) or "json" |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | Yes | Number of results returned |
| results | Yes | Array of symbol results |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes beyond the readOnly/idempotent annotations by disclosing AST-based matching via ast-grep, PHP's lack of type aliases, wildcard support, and the fact that paths need no registration. It also documents defaults for exportedOnly, maxResults, and response_format. No statement conflicts with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with a clear summary, followed by a well-organized argument list and concrete examples. Given the 7 optional parameters, the length is appropriate and every section serves a purpose. There is no generic filler or redundant boilerplate.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has an output schema, so return-value details need not be repeated. The description covers all key dimensions: search targets, language filters, repo vs. ad-hoc path selection, export filtering, result limits, and response format. An agent has enough information to invoke the tool correctly without additional assumptions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already covers all 7 parameters, so the baseline is 3, but the description adds meaningful semantics: wildcard patterns like '*Props', ad-hoc paths with no registration, and default values for optional fields. The examples map parameters to realistic calls. The only minor gap is not restating the 'ts'/'js' language aliases in prose, but those are already in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific action: finding type aliases and interface definitions via AST analysis. It clearly distinguishes the tool from siblings such as find_classes and find_functions by targeting type/interface declarations. The scope is unmistakable due to language-specific details like PHP's lack of type aliases.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives concrete invocation examples, including ad-hoc directory searches, wildcard patterns, and exported-only searches. This provides clear context for how to run the tool. However, it does not explicitly contrast it with sibling tools or state when to prefer find_types over find_classes/find_functions, leaving some routing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
repolens_list_repositoriesList RepositoriesARead-onlyIdempotent
List all configured repositories available for cross-repository search.
Returns the list of repositories declared in repolens.yaml with their aliases, paths, and git branch info.
Args:
response_format (string, optional): Output format - "markdown" (default) or "json"
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: "markdown" (default) or "json" |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare this read-only, idempotent, non-destructive, and bounded to the configured world. The description adds meaningful context beyond those annotations by revealing that the data comes from repolens.yaml and that the response includes aliases, paths, and git branch information.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: the first sentence states the core behavior, the second adds the return-value detail, and the Args section is minimal. Every component earns its place, and there is no fluff or unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple listing tool with no output schema, the description is sufficiently complete: it names the data source, the returned fields, and the only parameter. The annotations cover behavioral safety, so nothing an agent needs to invoke it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema describes the single 'response_format' parameter fully with an enum and a default of 'markdown', giving 100% schema coverage. The description's Args section largely repeats this information, adding no meaning beyond what the schema already provides, so a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a precise action ('List all configured repositories') and a clear resource, and it immediately frames the purpose as enabling cross-repository search. The sibling tools are all find_* operations over code symbols, so 'list repositories' is distinguishable without ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'available for cross-repository search' gives clear context for when an agent would call this tool: to discover the repository scope before searching. It does not explicitly name alternatives or exclusions, but the intended use case is evident and the sibling distinction does not require further clarification.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
5 tool updates
v0.3.0- First observed
repolens_find_api_routes - First observed
repolens_find_classes - First observed
repolens_find_functions - First observed
repolens_find_types - First observed
repolens_list_repositories
TDQS
Each tool targets a distinct code construct: repositories, functions, classes, types/interfaces, and API routes. The descriptions clearly separate concerns, so an agent is unlikely to confuse one tool for another.
All tool names follow the consistent `repolens_<verb>_<noun>` pattern using snake_case. The verb choices are uniform (`list` for one, `find` for the rest) and the object nouns clearly indicate the target.
Five tools is well-scoped for a focused cross-repository code search server. Each tool covers a meaningful piece of the search surface without redundant or unnecessary entries.
The set covers the primary search needs for functions, classes, types, and API routes across repositories. Notable gaps remain such as full-text search, enums, variables, or imports, but these are workable minor omissions rather than critical dead ends.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Ask a codebase what calls what: search, blast radius, paths between symbols, and diffs.
Ground-truth code graph for your codebase: exact callers, callees, symbols & dependencies.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA local server that provides powerful code analysis and search capabilities for software projects, helping AI assistants and development tools understand codebases for tasks like code generation and refactoring.4-
- AlicenseNot gradedqualityDmaintenanceProvides knowledge extraction and cross-repo analysis tools for multi-repository organizations. It enables users to query type definitions, service dependencies, and infrastructure configurations across an entire organization's codebase.MIT
- AlicenseNot gradedqualityCmaintenanceA graph-powered code intelligence engine that indexes codebases into a structural knowledge graph to provide AI agents with deep context on function calls, types, and execution flows. It offers local, zero-dependency tools for hybrid search, impact analysis, and dead code detection across Python, JavaScript, and TypeScript projects.811MIT
- AlicenseNot gradedqualityCmaintenanceProvides IDE-like code navigation and search for local repositories, enabling AI assistants to perform symbol search, trigram indexing, and semantic navigation.AGPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/YohannHommet/repo-lens-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server