A Model Context Protocol (MCP) server that exposes GraphQL schema information to LLMs like Claude, enabling exploration of queries, mutations, subscriptions, and type definitions through specialized tools.
Lists all available root-level fields for GraphQL queries.
Gets detailed definition for a specific query field in SDL format.
Lists all available root-level fields for GraphQL mutations.
Gets detailed definition for a specific mutation field in SDL format.
Lists all available root-level fields for GraphQL subscriptions (if present in schema).
Gets detailed definition for a specific subscription field (if present in schema).
Lists all types defined in the GraphQL schema (excluding internal types).
Gets detailed definition for a specific GraphQL type in SDL format.
Gets a simplified list of fields with their types for a specific GraphQL object type.
Searches for types or fields in the schema by name pattern (case-insensitive regex).
{
"mcpServers": {
"GraphQL Schema": {
"command": "npx",
"args": ["-y", "mcp-graphql-schema", "/ABSOLUTE/PATH/TO/schema.graphqls"]
}
}
}