Direct Access to Your Code Graph

Your AI assistant reads raw files and guesses at structure. DKE-Forge's MCP server lets it query the actual graph — ask “what calls this?” and get the real call chain, not a search result. Compatible with Claude Code, Cursor, VS Code, and any MCP-compatible client.

Install:

pip install 'dke-forge[mcp]'

Claude Code — add to .mcp.json:

{
  "mcpServers": {
    "forge": {
      "command": "dke-forge-mcp",
      "env": {
        "FORGE_URL": "https://dke-forge.com",
        "FORGE_API_KEY": "fga_your_key"
      }
    }
  }
}

Source on GitHub (MIT). See the full tool reference for all 27 tools.

Ask AI Assistant Structural question
Query Forge MCP 27 graph tools
Answer Structural Facts Not guesses

27 Tools, 10 Categories

Foundation

  • forge_graph_stats

Navigation

  • forge_query_function
  • forge_callers_of
  • forge_callees_of
  • forge_depends_on
  • forge_impact_analysis
  • forge_callgraph_reachable
  • forge_find_implementers

Architecture

  • forge_dead_code
  • forge_subgraph

Rules

  • forge_rules
  • forge_check_rules

Provenance

  • forge_contradictions
  • forge_last_modified
  • forge_provenance
  • forge_reasoning_trace

Patterns

  • forge_patterns
  • forge_pattern_catalog
  • forge_pattern_detail
  • forge_learn_patterns

Generation-prep

  • forge_envelope

Ingestion

  • forge_scan
  • forge_scan_status
  • forge_ingest

Generation

  • forge_generate

Meta

  • forge_health
  • forge_auth_verify

What Is MCP?

The Model Context Protocol is an open standard for connecting AI assistants to external tools. An MCP server is a lightweight process that exposes tools over a standard protocol — AI clients discover them automatically and call them when relevant. No plugins, no custom integrations.

With the Forge MCP server installed, your AI answers “what calls this function?” or “what breaks if I change this?” by querying the code graph directly, instead of searching through files and guessing. Every answer is provenance-tagged — you can ask where a claim came from. Queries are deterministic — same graph, same answer.

See the API Docs for the full tool reference, or read the source on GitHub.