Skip to main content
Glama
YohannHommet

Repo Lens MCP Server

by YohannHommet

Repo Lens MCP Server

Cross-repository code intelligence for developers.

NPM Version Build Status License: AGPL v3 TypeScript MCP Ready

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-mcp

Key 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 User and const User

  • Export awareness: Find only exported functions, or include private ones

  • Signature extraction: Get full function signatures, not just names

Search any directory instantly with the paths parameter — no configuration required:

  • Pass directory paths directly to any search tool

  • Declare persistent repos in repolens.yaml with aliases for repeated use

  • Mix both: registered repos + ad-hoc paths in the same query

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

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 dev

Configuration

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

  1. --config <path> CLI argument (explicit — fails if file not found)

  2. Default: ~/.config/repo-lens-mcp/repolens.yaml (graceful — returns empty if not found, ad-hoc paths still work)

Environment Variables

Variable

Default

Description

MCP_LOG_LEVEL

info

Log level: debug, info, warn, error

Example:

{
  "env": {
    "MCP_LOG_LEVEL": "debug"
  }
}

Capabilities

Repository Listing (1 tool)

Tool

Description

repolens_list_repositories

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

repolens_find_functions

Find function/method definitions in JS/TS and PHP (supports wildcards like handle*)

repolens_find_classes

Find class definitions (also finds PHP traits)

repolens_find_types

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

repolens_find_api_routes

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 tools
repolens_find_api_routesFind API RoutesA
Read-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"

ParametersJSON Schema
NameRequiredDescriptionDefault
pathsNoAd-hoc directory paths to search (comma-separated). No registration needed.
methodNoHTTP method (GET, POST, PUT, DELETE, PATCH)
frameworkNoFilter by framework (express, fastify, nestjs, laravel)
maxResultsNoMaximum results (default: 100, max: 500)
repoFilterNoFilter registered repositories by alias (comma-separated)
pathPatternNoFilter by path pattern (e.g., "/users", "/api")
response_formatNoOutput format: "markdown" (default) or "json"

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of results returned
resultsYesArray of API route results

TDQS

A4.2/5.0
Behavior4/5

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.

Conciseness4/5

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.

Completeness5/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 ClassesA
Read-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"

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoClass name pattern
pathsNoAd-hoc directory paths to search (comma-separated). No registration needed.
languageNoFilter by language (typescript, javascript, php, ts, js)
maxResultsNoMaximum results (default: 100, max: 500)
repoFilterNoFilter registered repositories by alias (comma-separated)
exportedOnlyNoOnly return exported symbols (default: false)
response_formatNoOutput format: "markdown" (default) or "json"

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of results returned
resultsYesArray of symbol results

TDQS

A4/5.0
Behavior3/5

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.

Conciseness3/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 FunctionsA
Read-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

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoFunction name pattern (supports wildcards like 'handle*')
pathsNoAd-hoc directory paths to search (comma-separated). No registration needed.
languageNoFilter by language (typescript, javascript, php, ts, js)
maxResultsNoMaximum results (default: 100, max: 500)
repoFilterNoFilter registered repositories by alias (comma-separated)
exportedOnlyNoOnly return exported symbols (default: false)
response_formatNoOutput format: "markdown" (default) or "json"

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of results returned
resultsYesArray of symbol results

TDQS

A4.2/5.0
Behavior4/5

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.

Conciseness4/5

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.

Completeness5/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 TypesA
Read-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

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoType name pattern
pathsNoAd-hoc directory paths to search (comma-separated). No registration needed.
languageNoFilter by language (typescript, javascript, php, ts, js)
maxResultsNoMaximum results (default: 100, max: 500)
repoFilterNoFilter registered repositories by alias (comma-separated)
exportedOnlyNoOnly return exported symbols (default: false)
response_formatNoOutput format: "markdown" (default) or "json"

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of results returned
resultsYesArray of symbol results

TDQS

A4.7/5.0
Behavior5/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 RepositoriesA
Read-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"

ParametersJSON Schema
NameRequiredDescriptionDefault
response_formatNoOutput format: "markdown" (default) or "json"

TDQS

A4.3/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

  1. 5 tool updatesv0.3.0
    • First observedrepolens_find_api_routes
    • First observedrepolens_find_classes
    • First observedrepolens_find_functions
    • First observedrepolens_find_types
    • First observedrepolens_list_repositories

TDQS

A4.4/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityInactive
ResponsivenessNo issues

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

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A 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
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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
  • A
    license
    Not graded
    quality
    C
    maintenance
    A 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.
    811
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 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

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