GraphQL to Table Connector

tools/graphqlConnectors

Run typed GraphQL queries and flatten nested edges into tables.

Executes read-only GraphQL POST queries with parameterized variables and cursor pagination, flattening nested edges and nodes into clean relational tables. Supports JSON Pointer projection via json.tabular.

Use in chatQuery a GraphQL API for repository star counts and release timestamps across AI infrastructure projects.

What GraphQL to Table Connector does

GraphQL to Table Connector turns nested graph API responses into flat tables for SQL and exports. Recipes declare the query document, variable bindings, and JSON Pointers instead of hand-writing pagination loops.

Flattened records go through DuckDB SQL typing and quality checks inside Mostly Right before publishing. Downstream users and AI agents query the normalized tables via SQL, REST JSON APIs, Parquet/CSV exports, and MCP.

Input & output example

Projects nested GraphQL nodes and edges into clean typed columns.

GraphQL query + edges

query($cursor: String) { repositories(first: 50, after: $cursor) { nodes { name stargazerCount } } }

Normalized table

repo_namestarsprimary_language
duckdb/duckdb24,810C++
apache/arrow14,920C++

How it works

  1. 1

    Provide the GraphQL query and variables

    Declare a read-only GraphQL POST request body with static filters or cursor pagination variables.

  2. 2

    Flatten edges with JSON Pointers

    Set json.tabular records_pointer (such as /data/items/edges) to project nested node fields into flat typed columns.

  3. 3

    Transform and publish tabular snapshots

    Cast timestamps and numeric types in DuckDB SQL and expose the dataset via Parquet, REST API, and MCP.

Try with an agent

Pre-loads GraphQL in chat

Track open-source repository growth

Query a GraphQL API for repository star counts and release timestamps across AI infrastructure projects.

Pull DeFi protocol pool liquidity

Ingest top liquidity pools from a GraphQL subgraph endpoint with cursor pagination and hourly snapshots.

Common use cases

  • GitHub, Linear, or Shopify GraphQL APIs
  • DeFi / blockchain subgraph queries
  • Nested relay-style connection pagination

Details

Category
Connectors
Identifier
graphql
Inputs
GraphQL HTTPS endpoints · JSON variables & cursors
Outputs
Flattened tables · Parquet / JSON
Dataset delivery
Parquet · CSV · JSON · SQL · REST API · MCP

Frequently asked questions

How are nested GraphQL edges flattened?

json.tabular expands array nodes with records_pointer and maps nested fields to top-level typed columns.

Can GraphQL endpoints use workspace API keys or Bearer tokens?

Yes. Pair GraphQL queries with authenticated.https connectors using encrypted workspace secret references.

Does it support Relay-style endCursor pagination?

Yes. Cursor pagination rules extract pageInfo.endCursor and stop automatically when hasNextPage is false or budget limits are hit.

Related tools