
droidmap
Android project graph for change impact and Room, Hilt, Koin and Gradle checks
droidmap is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, Self-hosted, Linux
- Runs
- Locally
- Version
- 0.4.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add droidmap -- docker run -i --rm ghcr.io/hussainshirazi/droidmap:0.4.1Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"droidmap": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hussainshirazi/droidmap:0.4.1"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"droidmap": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hussainshirazi/droidmap:0.4.1"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"droidmap": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hussainshirazi/droidmap:0.4.1"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"droidmap": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hussainshirazi/droidmap:0.4.1"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add droidmap -- docker run -i --rm ghcr.io/hussainshirazi/droidmap:0.4.1Or add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.droidmap]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"droidmap": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hussainshirazi/droidmap:0.4.1"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Or run: gemini mcp add -s user droidmap docker -- run -i --rm ghcr.io/hussainshirazi/droidmap:0.4.1
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "droidmap": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/hussainshirazi/droidmap:0.4.1" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About droidmap
Generic code graphs see classes and calls, but miss Android wiring. droidmap reads Gradle files, Room databases, Navigation graphs, Hilt and Koin bindings and the manifest, in Kotlin and Java, and builds a graph from source alone. It never runs Gradle, never compiles your code and sends nothing anywhere.
Its rules catch problems such as a Room database version with no migration to the next one, an entity that gained a column without a version bump, a migration test whose name does not match the path it runs, a navigate call to a route no NavHost registers, and a ViewModel that injects a repository nothing binds. The README demonstrates it on the Now in Android sample app (35 modules) and reports about 1.5 seconds per run.
Beyond MCP, there is a command line (check, impact, diff, report), a GitHub Action that comments on each pull request with what the change touches, a Gradle plugin from version 0.3.0, and a diff --format tests mode that prints only the test classes a change can break. It needs Java 17 or newer.
What it does
- Android wiring graph
- Models Gradle modules, Room, Navigation, Hilt, Koin and the manifest from source files.
- Rule checks
- Flags missing Room migrations, untested migration steps, unregistered routes and unbound injections.
- Change impact
- Lists screens, ViewModels, injection bindings and modules that depend on a changed class.
- Pull request comments
- A GitHub Action posts what each change touches and uploads findings as code scanning alerts.
- Targeted test selection
- Prints just the test classes covering a change so CI can skip the rest.
- Read-only analysis
- Reads source only; it does not run Gradle or send data out.
Good for
- Ask a coding agent what depends on a class before changing it
- Fail CI when a Room schema change lacks a migration
- Review what a pull request touches across modules and screens
- Run only the tests a change can affect in an Android build
- Spot permissions a library adds to the merged manifest
droidmap FAQ
Does droidmap run my build?
No. It reads source files only. The GitHub Action runs one Gradle task for the merged manifest, and only when you turn that option on.
What Java version does droidmap need?
Java 17 or newer; the launcher also finds the JDK bundled with Android Studio.
How do I install droidmap?
Via an install script for macOS and Linux, a PowerShell script for Windows, Homebrew, Scoop, Docker or the jar from the release page. The registry entry points to an OCI image.
Can droidmap run outside GitHub?
Yes. A Docker image supports GitLab, Bitbucket, Jenkins and Bitrise.
How do I add droidmap to Claude Code?
Run this command in your terminal: claude mcp add droidmap -- docker run -i --rm ghcr.io/hussainshirazi/droidmap:0.4.1
What are the best alternatives to droidmap?
The closest alternatives to droidmap are Repograph, code-graph, Devmap, Stratigraph and Readfirst.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.
