vibe-map
Click on "Deploy 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., "@vibe-map scan this repo and identify the safest files to edit first"
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.
Why vibe-map
When AI edits code without dependency context, regressions follow. vibe-map scans your repository, builds a dependency graph, and surfaces change risk before you refactor.
Detect high-risk hub files that many modules depend on.
Find safe leaf files to modify first.
Estimate blast radius for any planned change.
Expose the same analysis through CLI and MCP tools.
Related MCP server: code-rag-mcp
Try it now
npx vibe-map-mcp scan .Useful follow-ups:
npx vibe-map-mcp impact src/lib/auth.ts -m "Switching to Prisma"
npx vibe-map-mcp explain src/lib/auth.ts
npx vibe-map-mcp safe .
npx vibe-map-mcp structure .Command guide
Icon | Command | What it does |
| Maps source files and builds dependency graph data. | |
| Shows direct and indirect impact before edits. | |
| Summarizes purpose, imports/exports, and dependents. | |
| Ranks files by safety score for low-risk edits. | |
| Detects framework and high-level architecture signals. |
MCP setup
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"vibe-map": {
"command": "npx",
"args": ["-y", "vibe-map-mcp"]
}
}
}Claude Code
claude mcp add vibe-map -- npx -y vibe-map-mcpWindsurf (~/.codeium/windsurf/mcp_config.json)
{
"mcpServers": {
"vibe-map": {
"command": "npx",
"args": ["-y", "vibe-map-mcp"]
}
}
}CLI flags
--json
--no-cache
--force-rescan
--strict
-d, --depth <n>
-m, --message <msg>
-c, --category <category>How it works
Scans
.ts,.tsx,.js,.jsx, and.pyfiles.Parses imports/exports (AST for TS/JS, regex fallback for Python).
Resolves paths and builds a dependency graph.
Scores file risk and returns tool-specific insights.
Caches results in
.vibemap/for faster repeat runs.
Development
npm ci
npm run build
npx tsc --noEmit
npm testNode.js >=18 is required.
License
MIT
Available Tools
5 toolscheck_impactA
Before modifying a file, check what other files will be affected. Shows the blast radius of a change.
Inputs: file_path (required), depth, root_path, change_description.
explain_fileB
Provides a plain English explanation of what a specific file does, its role in the project, what it exports, what depends on it, and what it depends on.
Inputs: file_path (required), root_path.
find_safe_filesB
Returns a ranked list of files that are safe to modify — files with few or no dependents that will not break other parts of the codebase.
Inputs: category, root_path.
get_structureA
Returns a high-level overview of the project architecture — what frameworks/libraries are used, how the project is organized, and the main entry points.
Inputs: root_path.
map_codebaseC
Scans the entire codebase and builds a dependency map showing how all files are connected through imports/exports.
Inputs: root_path, use_cache, force_rescan, exclude_patterns, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct primary action (explain a file, map the whole codebase, check blast radius, summarize architecture, rank safe files). explain_file vs get_structure and check_impact vs find_safe_files touch adjacent concerns (dependency graph), but the descriptions clearly separate per-file from project-level and per-file blast radius from a ranked safe-file list.
All five tools follow a clean verb_noun pattern (explain_file, map_codebase, check_impact, get_structure, find_safe_files), with no mixing of conventions or casing styles.
Five tools is well-scoped for a codebase-analysis server; each one covers a distinct analytical need with no filler or redundant endpoints.
The surface covers the core lifecycle: architecture overview, per-file explanation, dependency map, change impact, and safe-file discovery. Minor gaps exist, such as locating a file by name/symbol or querying reverse dependents of a specific file, but agents can work around these via the existing tools.
Maintenance
Related MCP Connectors
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAnalyzes repositories, explains architecture, calculates change impact, and enforces guardrails for AI Agents like Claude Code, Cursor, and Codex via MCP tools.-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to perform hybrid semantic and lexical code search across multiple repositories, retrieve symbol definitions and call hierarchies, and manage repository relations through MCP tools.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query a repository's living, versioned knowledge graph through 11 MCP tools, so they can search code, inspect node, file and community context, trace paths between routes and tables, run impact analysis, and review what changed between versions.3MIT
- AlicenseBqualityBmaintenanceEnables AI coding agents to compile repositories into high-signal, cache-pinned context and to query dependency centrality, blast radius, AST skeletons, circular dependencies, hotspots, and auto-generated agent rules through MCP tools.71MIT