Model Context Protocol

Sorare MCP Server

Stop burning tokens on GraphQL debugging. Give your AI assistant direct access to Sorare's schema, proven query patterns, and documented gotchas.

7 Tools
500+ Schema Types
~90% Token Savings

What It Does

Your AI assistant gets superpowers for Sorare's GraphQL API

Schema Lookup

35,000-line schema indexed and searchable. Your AI looks up exact field names, types, and arguments instead of guessing.

get_type_fields("So5Appearance")

Query Validation

Catches wrong field names, depth violations, complexity issues, and documented gotchas before you hit the API.

validate_query("{ currentUser { mySo5Lineups } }")

Proven Patterns

Tested query templates for common tasks — floor prices, lineups, sold cards, missions, player profiles, and more. Copy-paste correct, every time.

get_query_pattern("lineup scores")
Without MCP
Load 40,000+ tokens of schema + docs into context every session. Debug wrong field names. Trial and error.
With Sorare MCP
Focused tool calls returning only relevant data. Correct queries on the first try. ~90% fewer tokens.

7 Tools

Everything your AI needs to write correct Sorare queries

get_type_fields

Look up fields, types, and arguments for any Sorare GraphQL type

get_type_fields("AnyCardInterface")
search_schema

Search across 500+ types and thousands of fields by keyword

search_schema("lineup")
validate_query

Check a query for wrong field names, depth violations, and known gotchas

validate_query("{ currentUser { cards ... } }")
diagnose_error

Given an API error message, get the exact fix with corrected query

diagnose_error("Field 'price' doesn't exist on type 'AnyCardInterface'")
get_query_pattern

Get a proven, tested query template for common Sorare use cases

get_query_pattern("floor price")
list_patterns

List all available proven query patterns with descriptions

list_patterns()
get_api_limits

Get API constraints: depth, complexity, pagination, enums, currency conversion

get_api_limits()

Get Started

Add one config block and your AI assistant is connected

Claude Code / Cursor / VS Code

Add to your MCP settings:

JSON MCP Config
{
  "mcpServers": {
    "sorare": {
      "url": "https://sorare-mcp.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

How It Works

1
You ask your AI "Build me a query to get card floor prices"
2
AI calls MCP tool get_query_pattern("floor price")
3
Gets proven template Complete query with notes on gotchas
4
Correct on first try No debugging, no wasted tokens