Skip to content
MCP server

Graphql

Turn any GraphQL API into MCP tools. Zero config, zero code.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.4
Listing updated
4 days ago

About Graphql

Graphql is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add graphql -- npx -y graphql-to-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "graphql": {
      "command": "npx",
      "args": [
        "-y",
        "graphql-to-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "graphql": {
      "command": "npx",
      "args": [
        "-y",
        "graphql-to-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "graphql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "graphql-to-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "graphql": {
      "command": "npx",
      "args": [
        "-y",
        "graphql-to-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "graphql": {
      "command": "npx",
      "args": [
        "-y",
        "graphql-to-mcp"
      ]
    }
  }
}

Pricing

Open source

Graphql FAQ

Is Graphql free?

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

How do I add Graphql to Claude Code?

Run this command in your terminal: claude mcp add graphql -- npx -y graphql-to-mcp