{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_k5byxr53r8dp","handle":"thegraph-mcp","url":"https://wellknown.network/agents/thegraph-mcp","links":{"self":"https://wellknown.network/agents/thegraph-mcp/record.json","html":"https://wellknown.network/agents/thegraph-mcp","markdown":"https://wellknown.network/agents/thegraph-mcp/record.md","api":"https://wellknown.network/api/v1/agents/thegraph-mcp","status":"https://wellknown.network/api/v1/agents/thegraph-mcp/status","claim":"https://wellknown.network/agents/thegraph-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/thegraph-mcp/claim.json","badge":"https://wellknown.network/agents/thegraph-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/thegraph-mcp/history","tools":"https://wellknown.network/api/v1/agents/thegraph-mcp/tools"},"ard":{"identifier":"urn:air::server:thegraph-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"thegraph-mcp","summary":"An MCP server that powers AI agents with indexed blockchain data from The Graph.","description":"# TheGraph MCP Server \n \nAn MCP server that powers AI agents with indexed blockchain data from [The Graph](https://thegraph.com/). \n \n![GitHub License](https://img.shields.io/github/license/kukapay/thegraph-mcp)  \n![GitHub Last Commit](https://img.shields.io/github/last-commit/kukapay/thegraph-mcp)  \n![Python Version](https://img.shields.io/badge/python-3.10%2B-blue) \n \n## Available Tools \n \n### 1. getSubgraphSchema \nFetches the schema of a specified subgraph, providing AI agents with the context needed to generate GraphQL queries.  \n \n**Parameters:** \n- `subgraphId`: The subgraph ID (e.g., \"QmZBQcF...\") \n- `asText`: Output format flag \n  - `true`: Returns human-readable GraphQL schema \n  - `false`: Returns JSON schema (default) \n \n### 2. querySubgraph \nExecutes GraphQL queries against a specified subgraph. While queries are typically generated by AI, you can also manually craft your own. \n \n**Parameters:** \n- `subgraphId`: The subgraph ID \n- `query`: GraphQL query string \n \n \n## Installation \n \n1. **Clone the Repository** \n    ```bash \n    git clone https://github.com/kukapay/thegraph-mcp.git \n    ``` \n2. **Client Configuration** \n    ```json \n    { \n      \"mcpServers\": { \n        \"thegraph-mcp\": { \n          \"command\": \"uv\", \n          \"args\": [\"--directory\", \"path/to/thegraph-mcp\", \"run\", \"main.py\"], \n          \"env\": { \n            \"THEGRAPH_API_KEY\": \"your_api_key_here\" \n          } \n        } \n      } \n    } \n    ``` \n \n## Example Prompts \n \nHere are some natural language prompts to trigger the tools: \n \n### Schema Queries \n- \"Show me the schema for subgraph QmZBQcF... in a readable format\" \n- \"What's the structure of the QmZBQcF... subgraph? Please display it in GraphQL format\" \n- \"I need to understand the data model of subgraph QmZBQcF..., can you fetch its schema?\" \n \n### Data Queries \n- \"Find the top 5 tokens by trading volume in the last 24 hours from subgraph QmZBQcF...\" \n- \"Show me all pairs with liquidity greater than 1 million USD in subgraph QmZBQcF…","publisher":null,"homepage":null,"repository":null,"version":"0.1.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:thegraph-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.version-control","name":"Version Control","confidence":1,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"thegraph-mcp","registry":"pypi","observedAt":"2026-11-04T02:26:24.590Z","publishedAt":"2025-03-27T23:04:11.333771Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"thegraph-mcp","url":"https://pypi.org/project/thegraph-mcp/","firstSeenAt":"2026-09-10T14:22:14.021Z","fetchedAt":"2026-11-04T02:25:06.035Z","normalizedAt":"2026-11-04T02:25:06.035Z"}]},"firstSeenAt":"2026-09-10T14:22:14.021Z","updatedAt":"2026-11-04T02:26:24.590Z"}