DEV Community

curatedmcp for CuratedMCP

Posted on • Originally published at curatedmcp.com

Anthropic Claude MCP: Run Claude as a Sub-Agent Inside Claude

Install guide and config at curatedmcp.com

Anthropic Claude MCP: Run Claude as a Sub-Agent Inside Claude

When you're building with Claude, sometimes you need specialized reasoning happening in parallel or in sequence. The Anthropic Claude MCP server lets you nest Claude models within a Claude session—turning your AI agent into an orchestrator that delegates to specialized sub-agents.

What It Does

This MCP server exposes Claude Haiku, Sonnet, and Opus as callable tools. You can invoke any Claude model from within your current Claude session, pass custom system prompts to shape behavior, and control parameters like temperature and token limits. The real power emerges in multi-agent workflows: use a fast Haiku for triage, Opus for deep reasoning, or spin up parallel Claude instances to tackle different parts of a problem simultaneously.

Think of it as building agent teams. One Claude orchestrates; others critique, refine, specialize. You get prompt caching baked in, so repeated calls cost less. Chain multiple models in a single workflow. Define personas—a legal Claude, a code Claude, a writing Claude—all working inside the same session.

How to Install

npx -y @anthropic-ai/mcp
Enter fullscreen mode Exit fullscreen mode

Add it to your Claude Desktop config:

{
  "mcpServers": {
    "anthropic-claude-mcp": {
      "command": "npx -y @anthropic-ai/mcp"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Set your ANTHROPIC_API_KEY environment variable, and Claude gains access to sub-agent capabilities immediately.

Real-World Use Cases

  • Code review pipelines in Cursor: Commit your code, have Claude Opus analyze it for architecture issues while Claude Haiku flags syntax problems in parallel. Merge results into a single report without context-switching tools.

  • Content critique loops: Write a draft with one Claude, immediately route it to a specialized editor persona (another Claude instance) with system instructions focused on tone and clarity. The main Claude synthesizes feedback without waiting for you to restart.

  • Structured data extraction at scale: Feed documents to multiple Claude instances working on different sections simultaneously. Use Haiku for quick categorization, escalate edge cases to Opus. Aggregate results in your main session.


Full install guides for Claude Desktop, Cursor, Windsurf, and more at CuratedMCP.

Top comments (0)