MCP Catalogs
Homearchmcp screenshot

archmcp

by dejo1307·30·Score 44

archmcp is an MCP server that generates compact architectural snapshots of repositories to provide AI agents with structured codebase overviews.

developer-toolsai-llmknowledge-graph
3
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

Overview

archmcp is a local MCP server that creates architectural snapshots of repositories before AI agents begin exploring code. It exposes pre-generated architectural summaries as MCP resources and provides tools for on-demand snapshot generation and querying. The server processes code through a pipeline that walks files, extracts facts based on language-specific parsers, stores them in a graph index, and renders them as LLM-friendly context. Currently supports Go, Kotlin, Python, TypeScript, Swift, Ruby, and OpenAPI specifications with language-specific awareness for frameworks like Next.js, Android, FastAPI, Rails, and more.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Giving AI coding agents a structural overview of codebases before they start exploring
you:Enabling cross-repository understanding by combining snapshots from multiple projects
you:Identifying architectural issues like cyclic dependencies and layer violations
you:What is archmcp?
you:Does archmcp replace traditional code exploration tools?

When to choose this

Choose archmcp when you work with multiple codebases across different languages and want your AI coding assistant to understand architectural relationships before exploring code.

When NOT to choose this

Don't choose archmcp if you only work with a single small project or need real-time code analysis as you type, as it's designed for upfront architectural analysis rather than continuous monitoring.

Tools this server exposes

12 tools extracted from the README
  • generate_snapshot

    Generate an architectural snapshot of a repository

  • query_facts

    Query architectural facts with optional filters

  • analyze_architecture

    Analyze architectural patterns and potential issues

  • get_insights

    Retrieve architectural insights and recommendations

  • append_snapshot

    Append another repository to the current architectural snapshot

  • get_dependencies

    Get dependency information for a specific module or symbol

  • get_symbols

    Retrieve all symbols (classes, functions, etc.) in the codebase

  • impact_analysis

    Analyze the impact of changing a specific module or symbol

  • get_routes

    Get all API routes and their handlers

  • get_call_chain

    Get the call chain between two symbols

  • get_storage

    Get database/storage models and their relationships

  • get_layer_violations

    Check for architectural layer violations

Comparable tools

mcp-code-representationmcp-codebase-graphtree-sitter-mcp

Installation

Prerequisites

  • Go 1.22+
  • C compiler (for tree-sitter CGo bindings)

Build

go build -o archmcp ./cmd/archmcp

Or install globally:

go install ./cmd/archmcp

Connect to your MCP client

Add to your MCP client configuration. For example, in Cursor's mcp.json:

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

Or if installed via go install:

{
  "mcpServers": {
    "archmcp": {
      "command": "archmcp"
    }
  }
}

FAQ

What is archmcp?
archmcp is an MCP server that generates architectural snapshots of repositories, providing AI agents with structured overviews of modules, symbols, dependencies, and patterns before they start exploring code.
Does archmcp replace traditional code exploration tools?
No, archmcp is designed to run before traditional tools. It provides upfront structural context that makes tools like grep, file search, and code reading more effective by helping the AI know where to look.

Compare archmcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.