ArchMCP

v1.0.0Developer Toolsstable

archmcp - MCP Architectural Snapshot Server and Knowledge Graph

ai-toolsarchitecturecode-analysisdependency-graphgolang
Share:
30
Stars
0
Downloads
0
Weekly
0/5

What is ArchMCP?

ArchMCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to archmcp - mcp architectural snapshot server and knowledge graph

archmcp - MCP Architectural Snapshot Server and Knowledge Graph

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • archmcp - MCP Architectural Snapshot Server and Knowledge Gr

Use Cases

Analyze codebase architecture
Build dependency graphs
Generate snapshots
dejo1307

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 14, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx archmcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use ArchMCP

ArchMCP is an architectural snapshot and knowledge graph MCP server that analyzes codebases to extract modules, symbols, dependencies, and routes into a structured graph representation accessible to AI agents. It exposes tools for generating architectural snapshots, querying dependency facts, exploring modules, traversing call graphs, and performing impact analysis — helping AI assistants understand complex codebases before making changes. Developers can use it to answer questions about architecture, identify cyclic dependencies, and plan refactors with full structural context.

Prerequisites

  • Go 1.21 or higher installed to build the server binary
  • An MCP-compatible client such as Claude Desktop or Cursor
  • A codebase to analyze (supports Go, Python, TypeScript, and other languages)
  • Optional: a configuration YAML file to specify repo paths, ignore patterns, and active extractors
1

Clone the repository

Clone the archmcp repository to your local machine.

git clone https://github.com/dejo1307/archmcp.git
cd archmcp
2

Build the archmcp binary

Compile the Go source into an executable binary using the Go toolchain.

go build -o archmcp ./cmd/...
3

Create a configuration file

Create a YAML configuration file that points the server at your codebase and specifies any directories to ignore during analysis.

# mcp-arch.yaml
repo: /path/to/your/project
ignore:
  - vendor
  - node_modules
  - .git
extractors:
  - go
  - typescript
output:
  dir: /tmp/archmcp-snapshots
4

Generate an initial snapshot

Run the server with your config file to generate the first architectural snapshot of your codebase.

./archmcp --generate mcp-arch.yaml
5

Configure Claude Desktop

Register archmcp as an MCP server in your Claude Desktop configuration, passing the config file path as an argument.

{
  "mcpServers": {
    "archmcp": {
      "command": "/path/to/archmcp/archmcp",
      "args": ["/path/to/mcp-arch.yaml"]
    }
  }
}

ArchMCP Examples

Client configuration

Claude Desktop configuration for the ArchMCP server with a YAML config file pointing at your project.

{
  "mcpServers": {
    "archmcp": {
      "command": "/path/to/archmcp/archmcp",
      "args": ["/Users/yourname/projects/myapp/mcp-arch.yaml"]
    }
  }
}

Prompts to try

Example prompts for architecture exploration, dependency analysis, and impact assessment.

- "Generate an architectural snapshot of my project and summarize the main modules"
- "What packages would I need to modify to add a new REST API endpoint?"
- "Are there any cyclic dependencies or architectural layer violations in the codebase?"
- "Traverse the dependency graph from the AuthService and show everything that depends on it"
- "Perform an impact analysis: if I change the UserRepository interface, what breaks?"

Troubleshooting ArchMCP

go build fails with module not found errors

Run 'go mod tidy' to download and resolve all module dependencies before building. Ensure your Go version is 1.21 or higher by running 'go version'.

Snapshot generation completes but the knowledge graph is missing many symbols

Check your mcp-arch.yaml configuration — ensure the 'repo' path is correct and the right extractors are listed for your language stack. Verify that the directories containing source files are not accidentally excluded by ignore patterns.

Claude Desktop does not see the archmcp tools after restarting

Confirm the absolute path to the archmcp binary in the 'command' field is correct and that the binary is executable (run 'chmod +x /path/to/archmcp'). Also verify the YAML config file path passed in 'args' exists and is readable.

Frequently Asked Questions about ArchMCP

What is ArchMCP?

ArchMCP is a Model Context Protocol (MCP) server that archmcp - mcp architectural snapshot server and knowledge graph It connects AI assistants to external tools and data sources through a standardized interface.

How do I install ArchMCP?

Follow the installation instructions on the ArchMCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with ArchMCP?

ArchMCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is ArchMCP free to use?

Yes, ArchMCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "archmcp": { "command": "npx", "args": ["-y", "archmcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use ArchMCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides