apollo-mcp-server

apollo-mcp-server is a skill for Claude Code from clidey/whodb. It costs 113 tokens per session (1,975 once invoked), scanned C, original, Apache-2.0.

A guide for using Apollo MCP Server to expose GraphQL operations as tools for AI agents through the Model Context Protocol, a standard way for applications to provide tools to agents. It covers setup, authentication, inspection, validation, and execution.

In plain words
What is it for?
Use it to configure the server, connect local GraphQL schemas and operations, enable introspection or validation, and let an MCP client call GraphQL APIs.
Why use it?
It removes the need to build a separate tool interface for each GraphQL operation. It also provides a defined setup for checking a schema and connecting an agent to the API.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./operations/.

Good fit Use it to configure the server, connect local GraphQL schemas and operations, enable introspection or validation, and let an MCP client call GraphQL APIs.

Compare 6 skills from other repositories ↓
About the project

WhoDB is a self-hosted workspace for exploring and managing databases through a browser, desktop app, or terminal interface. Developers and data teams use it to browse and edit data, run queries, inspect table relationships, move data, and optionally ask questions through an AI provider. The catalogue includes add-ons for operating WhoDB and working with its database tools.

clidey/whodb · 5,043 stars · on GitHub · whodb.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/clidey/whodb
agentmods
npx agentmods add skills/clidey/whodb/apollo-mcp-server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apollo-mcp-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/clidey/whodb/apollo-mcp-server/github.svg)](https://agentmods.dev/skills/clidey/whodb/apollo-mcp-server)
Your own site
<a href="https://agentmods.dev/skills/clidey/whodb/apollo-mcp-server"><img src="https://agentmods.dev/badge/skills/clidey/whodb/apollo-mcp-server/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apollo-mcp-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/clidey/whodb/apollo-mcp-server"><img src="https://agentmods.dev/badge/skills/clidey/whodb/apollo-mcp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,975 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.01975
Opus 5.5 $0.00045 $0.00790
Sonnet 5.5 $0.00023 $0.00395
Haiku 4.5 $0.00011 $0.00198

Measured today against content hash 88b52e05c43e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

apollo-mcp-server scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSL https://mcp.apollo.dev/download/nix/latest | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sSL https://mcp.apollo.dev/download/nix/latest | sh
.agents/skills/apollo-mcp-server/SKILL.md · 337 lines

How it starts

The opening of the file, as written. The whole thing — 337 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apollo MCP Server Guide

Apollo MCP Server exposes GraphQL operations as MCP tools, enabling AI agents to interact with GraphQL APIs through the Model Context Protocol.

Quick Start

Step 1: Install

# Linux / MacOS
curl -sSL https://mcp.apollo.dev/download/nix/latest | sh

# Windows
iwr 'https://mcp.apollo.dev/download/win/latest' | iex

Step 2: Configure

Create config.yaml in your project root:

transport:
  type: streamable_http
schema:
  source: local
  path: ./schema.graphql
operations:
  source: local
  paths:
    - ./operations/
introspection:
  introspect:
    enabled: true
  search:
    enabled: true
  validate:
    enabled: true
  execute:
    enabled: true

Start the server:

apollo-mcp-server ./config.yaml

The MCP endpoint is available at http://127.0.0.1:8000/mcp (streamable_http defaults: address 127.0.0.1, port 8000). The GraphQL endpoint defaults to http://localhost:4000/ — override with the endpoint key if your API runs elsewhere.

The server watches the config file for changes and automatically restarts with updated configuration.

Step 3: Connect

Add to your MCP client configuration:

Streamable HTTP (recommended):

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "graphql-api": {
      "command": "npx",
      "args": ["mcp-remote", "http://127.0.0.1:8000/mcp"]
    }
  }
}

Claude Code:

claude mcp add graphql-api -- npx mcp-remote http://127.0.0.1:8000/mcp

Stdio (client launches the server directly):

{
  "mcpServers": {
    "graphql-api": {
      "command": "./apollo-mcp-server",
      "args": ["./config.yaml"]
    }
  }
}

Built-in Tools

Tool Purpose When to Use
introspect Explore schema types in detail Need type definitions, fields, relationships
search Find types in schema Looking for specific types or fields
validate Check operation validity Before executing operations
execute Run ad-hoc GraphQL operations Testing or one-off queries
explorer Open operation in Apollo Explorer Generate Explorer URLs (requires GraphOS graph ref)

Read the full file on GitHub · 337 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 337 lines · 113 tokens per session scan C 88b52e05c43e

Subscribe to this mod's changes

apollo-mcp-server is a skill published in the GitHub repository clidey/whodb (5,043 stars, last pushed today), licensed Apache-2.0. It adds 113 tokens to every session and 1,975 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.