repomap
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
repomap is a map of this codebase. Start with map to see modules, central files and key symbols. Use search to find code by words or identifiers, context for a 360° view of a symbol or file (code, callers, callees, tests), trace for call paths, and impact before editing to see what could break (or impact with changed=true to review the current diff). db maps the database schema and where the code queries each table. Every answer cites file:line.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mapA | Start here. A map of the repository: modules (communities of files that depend on each other), the most central files (PageRank), the most used symbols, and entry points. Pass |
| searchA | Hybrid code search over AST chunks (whole functions, methods, classes): symbol names, BM25 keywords and a local code embedding model, so identifiers and plain questions both work, e.g. "parseConfig", "refresh token expiry" or "where are failed requests retried". Returns ranked file:line ranges with the matching lines. |
| contextA | Everything about one symbol or file: its code, who calls it (with call-site lines), what it calls, subtypes, members, imports, importers and the tests that touch it. Large fixture trees are skipped until targeted (target one, or pass --include-fixtures). Target forms: |
| traceA | With |
| impactA | What breaks if this changes. Give |
| dbA | Map the database: tables, columns, primary and foreign keys, indexes, and the code that queries each table (file:line). By default it reads schema sources in the repo: SQL migrations, Prisma, Drizzle, SQLAlchemy, Diesel and Django models. To inspect a live Postgres, MySQL or SQLite database, pass |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a recognizable niche: map for repo overview, search for retrieval, context for a single symbol/file, trace for call paths, impact for change risk, and db for schema. Mild overlap exists between map's `focus` outline and context's file detail, and between trace and impact (both surface callers), but the descriptions make the intended selection clear.
All names are short single lowercase tokens with no case or separator mixing, which reads consistently as a terse CLI-style vocabulary. The only wrinkle is a slight verb/noun mix (map, search, trace, impact vs. context, db) and the abbreviation `db` versus full words elsewhere.
Six tools is well within the sweet spot and each maps to a distinct question an agent would ask about a codebase (overview, find, inspect, connect, assess risk, schema). There is no filler or redundant surface.
The lifecycle is well covered: discover, navigate, trace dependencies, assess impact, and inspect DB schema, with git-diff analysis folded into impact. Minor gaps remain, such as no explicit file/directory listing outside map's focus mode, no dead-code or unused-symbol view, and no dependency/manifest inspection.