DevMap
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
The first command you run after git clone.
Built by Muhammad Fadil (@itsflaid) · www.flaid.my.id
The Problem
Before doing real work, developers and AI agents need context.
They open files, trace dependencies, follow feature flows, and rebuild understanding of the project.
The process repeats every time you:
start a new session
switch AI tools
bring in a new agent
revisit a project weeks later
The code stays the same.
The context gets rebuilt again and again.
Related MCP server: codex-memory-intelligence
The Solution
DevMap turns project knowledge into reusable context.
It analyzes your codebase and generates structured project intelligence that can be reused across developers, sessions, and AI agents.
Instead of rediscovering the codebase every time, agents and developers start with:
An operation map: what each endpoint, page and action checks, reads and writes
Project overview and entry points
Critical files
Feature maps
Architecture summaries
Onboarding guidance
Analyze once.
Reuse everywhere.
Operation Map
Before changing what a request does, ask for its card. This one is from a real Next.js project:
$ devmap trace "POST /api/snippets/[id]/copy"
POST /api/snippets/[id]/copy
file apps/web/src/app/api/snippets/[id]/copy/route.ts:5
access requireUserId (apps/web/src/lib/apiAuth.ts) -> 401
reads Snippet.findFirst [where id, userId] :10
writes Snippet.update [where id] :16
errors 401, 404
used by apps/web/src/components/snippet/shared/CopyButton.tsx, ...
screens /dashboard, /explore, /share/[shareId], /workspaces/[id]devmap data <Model> answers the other direction: every operation that reads or
writes a model, with the filter keys of each query.
Cards come from static reading of JavaScript and TypeScript. They name what was
seen, with a file and line, and say where reading stopped. no check found does
not mean a route is public: global middleware and hooks are only noted. Coverage
and limits are in docs/commands.md.
Without DevMap:
Repository
↓
Claude explores files
↓
Context rebuilt
Repository
↓
Codex explores files
↓
Context rebuilt
Repository
↓
New session
↓
Context rebuiltWith DevMap:
Repository
↓
devmap analyze
↓
Shared Project Context
├─ Claude Code
├─ OpenAI Codex
├─ Gemini CLI
├─ Cursor
├─ Windsurf
└─ Future AgentsHow It Works
devmap init
→ configures provider
→ generates DEVMAP.md
→ prepares project
devmap analyze
→ runs static analysis
→ builds the operation map
→ builds project intelligence
→ generates navigation files
→ generates reusable context
devmap trace / devmap data
→ answer one question from that context
Generated Context
→ reusable across sessions
→ reusable across agents
→ reusable across developersGenerated Files
File | Role |
| DevMap project documentation |
| Agent instructions |
| Agent entry point |
| Feature-level navigation |
| Complete project intelligence, including the operation map |
Recommended navigation order for agents:
index.json
↓
devmap trace / devmap data
↓
the files and lines they name
↓
feature maps, then snapshot.json, when the map does not cover the taskThe snapshot remains the complete project context and can also be copied into web-based AI tools when needed.
For AI Agents
DevMap provides reusable project context that works across tools.
Instead of exploring a repository from scratch, agents start with generated project intelligence.
Supported workflows include:
Claude Code
OpenAI Codex
Gemini CLI
Cursor
GitHub Copilot
etc.
Without DevMap:
Agent
↓
Explore repository
↓
Trace dependencies
↓
Guess architecture
↓
Start taskWith DevMap:
Agent
↓
index.json
↓
devmap trace / devmap data
↓
named files and lines
↓
Start taskOne analysis.
Reusable across sessions, tools, and agents.
MCP Server
Run DevMap as an MCP server and agents can query the project map with tool calls instead of reading a dumped context file.
# Claude Code
claude mcp add devmap -- npx -y @flaid/devmap mcp{
"mcpServers": {
"devmap": { "command": "npx", "args": ["-y", "@flaid/devmap", "mcp"] }
}
}devmap init --mcp opencode,claude,cursor writes this entry for you
(opencode.json, .mcp.json, .cursor/mcp.json) and merges into an existing
file without touching other servers. Interactive devmap init offers it too.
The server is read-only and static by default (no AI provider is contacted unless
you start it with --allow-ai).
Tool | Answers |
| What is this project? Entry points, critical files, features, flows |
| What does this endpoint, page or action check, read, write and answer? |
| Which operations read and write this model? |
| How is this feature or file wired? |
| How does this request or feature work end to end? |
| Which pages and API routes exist? |
| What breaks if I change this file? |
| Where is the code for this concept? |
| Refresh the snapshot when it is stale |
| Explain this file, feature or function (needs |
Every answer says whether the snapshot is stale. Setup for Claude Code, Cursor, opencode and Codex, plus the privacy model, is in docs/mcp.md.
Vision
DevMap is not an AI coding assistant.
AI coding assistants help write code.
DevMap helps developers and AI agents understand how codebases are organized, how features connect, and where work should begin.
Use DevMap to understand the project.
Use your preferred AI tool to change it.
DevMap is a shared project context layer for developers and AI agents.
Supported Stacks
Full support — framework detection + route mapping
Next.js (App Router and Pages Router)
Astro
Nuxt
SvelteKit
Remix
React Router v7 (framework mode)
TanStack Router and TanStack Start
Expo Router
SolidStart
Qwik City
Angular
Express
Fastify
Hono
Elysia
Koa
AdonisJS
NestJS
SPA client-side routing — routes read from the client router
React (Create React App, Vite) — React Router
<Route>trees andcreateBrowserRouter, TanStack Router code-based routesVue — Vue Router route arrays
Svelte —
svelte-spa-routermaps
Operation map
Endpoints, pages and server actions of the frameworks above, plus tRPC procedures. JavaScript and TypeScript only.
Databases
Database layer | Schema (entities) | Reads and writes in the operation map |
Prisma | Fields and relations | Yes |
Drizzle | Columns and foreign keys | Yes |
TypeORM | Detected | Repository calls |
Supabase | Detected |
|
Raw SQL ( | Table names | Listed without table names (Prisma raw queries) |
Mongoose | Detected | No |
Planned
PHP (Laravel)
Python, Go, Java, Rust, Dart, C#
AI Provider Setup
DevMap is free and open source.
The API key is optional. Static analysis, the generated files and the MCP server work without one; AI-written narration and devmap explain need a provider key. DevMap uses Groq by default — analysis runs on free-tier infrastructure.
Provider | Status |
Groq | MVP |
OpenRouter | MVP |
Custom (any OpenAI-compatible) | MVP |
devmap init lets you choose Groq, OpenRouter, or a custom OpenAI-compatible
endpoint with the arrow keys. Groq shows the available model list and stores
the selected model. For OpenRouter, pressing Enter at
OpenRouter model [openrouter/free]: keeps the free router; typing another
model ID uses that free or paid model instead. Change it later with
devmap config model <model-id>.
Press Enter at the key prompt to skip AI and add a key later with
devmap config key (or devmap config key <key>; it also reads
GROQ_API_KEY / OPENROUTER_API_KEY).
API keys are stored locally:
~/.devmap/config.jsonDevMap does not require a backend server.
Requests go directly from your machine to the selected provider.
Installation
# npm
npm install -g @flaid/devmap
# pnpm
pnpm add -g @flaid/devmap
# run without installing
npx @flaid/devmap analyzeRequirements:
Node.js 22.12+Documentation
Contributing
DevMap is open source and welcomes contributions.
git clone https://github.com/itsflaid/devmap
cd devmap
pnpm install
pnpm link --global
devmap analyzeBefore contributing:
Read
docs/architecture.mdRead
CONTRIBUTING.md
License
MIT License — use it, fork it, improve it, build on top of it.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
Repository knowledge graph MCP server for codebase understanding and debugging.
Read-only MCP server for repository context: context packs, graph impact analysis, and validation.
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server that provides AI agents with context about Unity project relationships, including scenes, prefabs, scripts, GUIDs, and code impact analysis.2Apache 2.0
- FlicenseNot gradedqualityCmaintenanceA local-first MCP server that gives AI coding agents durable project memory, dependency graphs, and impact analysis to answer team knowledge and cross-file change questions before editing.63 npm1-
- AlicenseNot gradedqualityDmaintenanceMCP server that analyzes codebases to provide dependency graphs, impact analysis, and file insights across 15+ programming languages, enabling AI assistants to understand project structure and navigate code efficiently.MIT

Euthynosofficial
AlicenseNot gradedqualityDmaintenanceA local, read-only MCP server that provides AI coding agents with structural evidence about a repository, including dependency analysis and impact assessment, while naming the boundary of every answer without any LLM calls.19 npmApache 2.0