Iconsult MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add iconsult-mcp -- npx -y @marcus-waldman/iconsult-mcp
README.md

Architecture consulting for multi-agent systems, grounded in the textbook.

Iconsult MCP

Architecture consulting for multi-agent systems, grounded in the textbook.

Iconsult is an MCP server that reviews your multi-agent architecture against a knowledge graph of 141 concepts and 462 relationships extracted from Agentic Architectural Patterns for Building Multi-Agent Systems (Arsanjani & Bustos, Packt 2026). Every recommendation comes with chapter numbers, page references, and concrete code-level changes — not abstract advice.

See It In Action

We pointed Iconsult at OpenAI's Financial Research Agent — a 5-stage multi-agent pipeline from their Agents SDK — and asked it to assess architectural maturity.

View the full interactive architecture review →

The agent's current architecture

The Financial Research Agent uses a 5-stage sequential pipeline orchestrated by FinancialResearchManager. Search is the only concurrent stage — everything else runs in sequence, and the verifier is a terminal dead end:

flowchart TD
    Q["User Query"] --> MGR["FinancialResearchManager"]
    MGR --> PLAN["PlannerAgent (o3-mini)"]
    PLAN -->|"FinancialSearchPlan"| FAN{"Fan-out N searches"}
    FAN --> S1["SearchAgent"]
    FAN --> S2["SearchAgent"]
    FAN --> SN["SearchAgent"]
    S1 --> W["WriterAgent (gpt-5.2)"]
    S2 --> W
    SN --> W
    W -.-> FA["FundamentalsAgent (.as_tool)"]
    W -.-> RA["RiskAgent (.as_tool)"]
    W --> V["VerifierAgent"]
    V --> OUT["Output"]

What Iconsult found

Solid foundation — and Iconsult's knowledge graph traversal identified 4 key opportunities for growth:

# Finding Recommended Pattern Book Reference
R1 Verifier flags issues but pipeline terminates — no self-correction Auto-Healing Agent Resuscitation Ch. 7, p. 216
R2 Raw search results pass unfiltered to writer Hybrid Planner+Scorer Ch. 12, pp. 387-390
R3 All agents share same trust level — no capability boundaries Supervision Tree with Guarded Capabilities Ch. 5, pp. 142-145
R4 Zero reliability patterns composed (book recommends 2-3 minimum) Shared Epistemic Memory + Persistent Instruction Anchoring Ch. 6, p. 203

Recommended architecture

The natural next evolution — adding a feedback loop, quality gate, shared memory, and retry logic:

flowchart TD
    Q["User Query"] --> SUP["SupervisorManager"]
    SUP --> MEM[("Shared Epistemic Memory")]
    SUP --> PLAN["PlannerAgent"]
    PLAN --> FAN{"Fan-out + Retry Logic"}
    FAN --> S1["SearchAgent"]
    FAN --> S2["SearchAgent"]
    S1 & S2 --> SCR["ScorerAgent (quality gate)"]
    SCR --> W["WriterAgent"]
    W -.-> FA["FundamentalsAgent"]
    W -.-> RA["RiskAgent"]
    W --> V["VerifierAgent"]
    V -->|"issues found"| W
    V -->|"verified"| OUT["Output"]
    MEM -.-> W
    MEM -.-> V

How it got there

The consultation followed Iconsult's guided workflow:

  1. Read the codebase — Fetched all source files from manager.py, agents/*.py. Identified the orchestrator pattern in FinancialResearchManager, the .as_tool() composition, the broad except Exception: return None in search, and the terminal verifier.

  2. Match conceptsmatch_concepts embedded the project description and deterministically ranked the most relevant patterns: Orchestrator, Planner-Worker, Agent Delegates to Agent, Tool Use, and Supervisor.

2b. Planplan_consultation assessed complexity and generated an adaptive plan — how many concepts to traverse, whether to use subagents, and which critique steps to include.

  1. Traverse the graphget_subgraph explored each seed concept's neighborhood. The requires edges revealed that the Supervisor pattern requires Auto-Healing — an opportunity not yet in place. The complements edges surfaced Hybrid Planner+Scorer as a natural addition. log_pattern_assessment recorded each finding for deterministic scoring.

  2. Retrieve book passagesask_book scoped to the discovered concepts returned exact citations: chapter numbers, page ranges, and quotes grounding each recommendation.

  3. Score + stress test + synthesizescore_architecture computed the maturity scorecard from logged assessments. generate_failure_scenarios produced concrete resilience scenarios for each opportunity — illustrating how the architecture responds under stress and where it would benefit from additional patterns. Then render_report generated the interactive before/after architecture diagram server-side — pulling scores, scenarios, and coverage from the database and merging with narrative

Tools (7)

match_conceptsEmbeds project description to deterministically rank relevant architectural patterns.
plan_consultationAssesses complexity and generates an adaptive plan for architectural review.
get_subgraphExplores the neighborhood of seed concepts within the architectural knowledge graph.
ask_bookRetrieves exact citations, chapter numbers, and page ranges for architectural patterns.
score_architectureComputes a maturity scorecard based on logged architectural assessments.
generate_failure_scenariosProduces concrete resilience scenarios for identified architectural opportunities.
render_reportGenerates an interactive before/after architecture diagram server-side.

Configuration

claude_desktop_config.json
{"mcpServers": {"iconsult": {"command": "npx", "args": ["-y", "@marcus-waldman/iconsult-mcp"]}}}

Try it

Analyze my multi-agent codebase and identify architectural gaps using the Iconsult knowledge graph.
Generate a maturity scorecard for my current agent pipeline and suggest improvements.
Find relevant book citations for implementing a supervision tree pattern in my project.
Create an interactive architecture diagram comparing my current agent structure to the recommended pattern.

Frequently Asked Questions

What are the key features of Iconsult MCP?

Reviews multi-agent architectures against a knowledge graph of 141 concepts and 462 relationships.. Provides grounded recommendations with specific chapter and page citations from expert literature.. Generates interactive before/after architecture diagrams to visualize structural improvements.. Calculates maturity scoring and produces concrete resilience failure scenarios for agents..

What can I use Iconsult MCP for?

Evaluating the architectural maturity of existing multi-agent pipelines.. Identifying structural gaps in agent communication and orchestration patterns.. Grounding architectural design decisions in established industry patterns.. Automating the generation of architectural review reports for complex agent systems..

How do I install Iconsult MCP?

Install Iconsult MCP by running: npx -y @marcus-waldman/iconsult-mcp

What MCP clients work with Iconsult MCP?

Iconsult MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Iconsult MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare