Skip to content
MCP server

Apollo MCP Server

Turn GraphQL operations into MCP tools that AI clients can call against your API

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
self-hosted, CLI, API
Runs
Locally
Version
2.1.0
Listing updated
2 days ago

About Apollo MCP Server

Apollo MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

The server sits in front of an existing GraphQL API and needs no change to the graph. Tools come from operation files, GraphOS operation collections, persisted query manifests or schema introspection, and it also supports MCP prompts for guided workflows. When a tool is called, it sends a structured GraphQL request to your endpoint with the configured headers and authentication, so the API's own authorisation and data policies still apply.

A setup needs a graph, definitions of the operations to expose, a configuration file and an MCP client. It talks over stdio for local use or Streamable HTTP, runs locally through Rover or as a container, and can be built from source with Rust or installed with cargo install --locked apollo-mcp-server. The documentation's example has Claude calling a GetAstronautsCurrentlyInSpace operation.

The code is MIT licensed, and Apollo maintains the quickstart and config reference in its docs.

Install

Run in a terminal

claude mcp add apollo-mcp-server -- docker run -i --rm ghcr.io/apollographql/apollo-mcp-server:v2.1.0

Add to claude_desktop_config.json

{
  "mcpServers": {
    "apollo-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apollographql/apollo-mcp-server:v2.1.0"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "apollo-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apollographql/apollo-mcp-server:v2.1.0"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "apollo-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apollographql/apollo-mcp-server:v2.1.0"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "apollo-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apollographql/apollo-mcp-server:v2.1.0"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "apollo-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/apollographql/apollo-mcp-server:v2.1.0"
      ]
    }
  }
}

What it does

Operations as tools
Expose chosen queries and mutations as MCP tools.
Multiple tool sources
Operation files, collections, persisted manifests or introspection.
Policy reuse
Your API's auth and data rules keep applying.
Prompts support
Offer reusable multi-step prompts.
Flexible deployment
Run locally or as a container.

Good for

  • Let an assistant query a GraphQL API with fixed operations
  • Expose a GraphOS operation collection to agents
  • Test an MCP client against an existing graph

Pricing

Open source

MIT licensed

Prices change. Check apollographql.com before you buy.

Apollo MCP Server FAQ

Do I need to change my GraphQL API?

No. It acts as a bridge and your API handles requests normally.

Which transports are available?

stdio for local development and Streamable HTTP.

What is the licence?

MIT.

How is it installed?

Through cargo install --locked, a source build, Rover or a container image.

Is Apollo MCP Server free?

Yes. Apollo MCP Server is open source, so you can use and self-host it for free.

How do I add Apollo MCP Server to Claude Code?

Run this command in your terminal: claude mcp add apollo-mcp-server -- docker run -i --rm ghcr.io/apollographql/apollo-mcp-server:v2.1.0

What are the best alternatives to Apollo MCP Server?

The closest alternatives to Apollo MCP Server are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Apollo MCP Server

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools