Atlas / MCP servers / hannesj / GraphQL Schema

GraphQL SchemaSAFE

mcp/hannesj/graphql-schema

GraphQL Schema Model Context Protocol Server

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
10 10r · 0w · 0d
Transport
stdio
License
MIT
Stars
46
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/@hannesj/mcp-graphql-schema) A Model Context Protocol (MCP) server that exposes GraphQL schema information to Large Language Models (LLMs) like Claude. This server allows an LLM to explore and understand GraphQL schemas through a set of specialized tools.

Features

  • Load any GraphQL schema file specified via command line argument
  • Explore query, mutation, and subscription fields
  • Look up detailed type definitions
  • Search for types and fields using pattern matching
  • Get simplified field information including types and arguments
  • Filter out internal GraphQL types for cleaner results

Usage

Command Line

Run the MCP server with a specific schema file:

# Use the default schema.graphqls in current directory
npx -y mcp-graphql-schema

# Use a specific schema file (relative path)
npx -y mcp-graphql-schema ../schema.shopify.2025-01.graphqls

# Use a specific schema file (absolute path)
npx -y mcp-graphql-schema /absolute/path/to/schema.graphqls

# Show help
npx -y mcp-graphql-schema --help

Installing via Smithery

To install GraphQL Schema for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @hannesj/mcp-graphql-schema --client claude

Claude Desktop Integration

To use this MCP server with Claude Desktop, edit your claude_desktop_config.json configuration file:

{
"mcpServers": {
"GraphQL Schema": {
"command": "npx",
"args": ["-y", "mcp-graphql-schema", "/ABSOLUTE/PATH/TO/schema.graphqls"]
}
}
}

Location of the configuration file:

  • macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: $env:AppData\Claude\claude_desktop_config.json

Claude Code Integration

To use this MCP server with Claude Code CLI, follow these

Read from source at commit 7c19bb47b913OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-graphql-schema -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-graphql-schema": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (10)

10 read · 0 write · 0 destructive.

ToolRiskDescription
get-mutation-fieldreadGets a single GraphQL mutation field definition in GraphQL Schema Definition Language.
get-query-fieldreadGets a single GraphQL query field definition in GraphQL Schema Definition Language.
get-subscription-fieldreadGets a single GraphQL subscription field definition in GraphQL Schema Definition Language.
get-typereadGets a single GraphQL type from the schema in the GraphQL Schema Definition Language
get-type-fieldsreadGets a simplified list of fields for a specific GraphQL type
list-mutation-fieldsreadLists all of the available root-level fields for a GraphQL mutation.
list-query-fieldsreadLists all of the available root-level fields for a GraphQL query.
list-subscription-fieldsreadLists all of the available root-level fields for a GraphQL subscription.
list-typesreadLists all of the types defined in the GraphQL schema.
search-schemareadSearch for types or fields in the schema by name pattern
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, graphql, zod
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 7c19bb47b913full audit observations/trust-audit/mcp-server/hannesj__graphql-schema.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-087c19bb47b913SAFEB89first audit
06

Questions

What is the GraphQL Schema MCP server?

GraphQL Schema Model Context Protocol Server

What tools does GraphQL Schema expose?

10 in total: 10 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is GraphQL Schema safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does GraphQL Schema need?

No credential environment variables were found in its source, so it appears to need none.

How does GraphQL Schema run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-graphql-schema at 0.0.2.

How current is this page?

The grade is for one exact copy of the source (7c19bb47b913), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement