Skip to content

Custom systems & APIs

GraphQL API integration: business questions over a typed GraphQL schema

GraphQL is a query language and runtime for APIs, open sourced by Facebook (now Meta) in 2015 and now maintained by the GraphQL Foundation. Many SaaS products and internal services expose their records through a single GraphQL endpoint with a typed schema. This page covers connecting a GraphQL API that has no dedicated Nexatron connector, such as an internal service or a smaller vendor’s API.

GraphQL

Available now: Nexatron answers GraphQL questions with user-level access that inherits your existing GraphQL permissions.

Updated

Can Claude, ChatGPT or Copilot access GraphQL data?

Yes. To connect Claude, ChatGPT or Copilot to GraphQL, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own GraphQL account (or your SSO), and Nexatron inherits their existing permissions.

What GraphQL data a question reads

Schema and introspection
The type system the endpoint publishes through introspection (__schema, __type), which lists every object type, field, argument and description.
Query root fields
The entry points on the Query type, such as orders(filter:, first:) or customer(id:), which decide what can be looked up and filtered.
Object types and fields
Typed records (Order, Customer, Shipment) with scalar fields and relationships to other types, including nested lists.
Connections and pagination
Relay-style connections with edges, nodes and pageInfo, or offset arguments, which decide how large result sets are paged.
Enums, inputs and scalars
Enum values such as order status, input types for filters, and custom scalars like DateTime or Money that need consistent handling.

GraphQL questions people ask

  • How many orders with status SHIPPED had a deliveredAt more than five days after createdAt last month?
  • Which customers in the EMEA region have more than three open support cases linked to their account in our internal service?
  • What was the weekly sum of Money totals on paid invoices returned by the billing service this quarter?
  • Which products have inventory nodes below their reorder point across all warehouses?
  • How did the count of new accounts created per day change after the pricing change on September 1?

Who asks GraphQL questions

Platform and integration engineers
Making an internal GraphQL service answerable without writing a reporting layer or dashboards for it.
Analysts and operations teams
Counts and totals from a system that only exposes GraphQL, with the query shown for review.

How Nexatron connects to GraphQL

API and sign-in
Whatever the GraphQL endpoint itself accepts, most often an OAuth 2.0 bearer token for a signed-in user, a personal access token or an API key, sent in the Authorization header over HTTPS.
User-level access
Users sign in with their own GraphQL account (or your SSO), and Nexatron inherits their existing permissions. Users only see data they are already authorized to see.
Read-only
Questions only read GraphQL; asking a question never changes GraphQL data.
Setup
An administrator enables GraphQL in Nexatron. Users link their own GraphQL account, or sign in through your SSO, the first time they ask. Queries run in GraphQL, with no warehouse to load.

GraphQL in Claude’s connector directory

Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers GraphQL questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.

  1. Connect GraphQL to your Nexatron workspace.
  2. In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
  3. Sign in with your own Nexatron identity (OAuth 2.1), then ask your GraphQL questions.

Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp

GraphQL questions and answers

How does Nexatron learn a GraphQL schema?
Through introspection where the server allows it, or from a schema file (SDL) you provide where introspection is disabled in production. Administrators then mark which types and fields hold business records and describe them, so questions map to the right fields.
GraphQL vs REST for analytics questions?
GraphQL lets one request fetch exactly the fields and nested records needed, which suits joined questions. Many GraphQL APIs have no aggregation, so totals are computed after paging through results, and query cost or depth limits shape how large a question can be.
Does a GraphQL integration send mutations?
No. Only query operations are allowed, and mutations and subscriptions are excluded from what can be called, keeping every answer read-only.
What makes a GraphQL API a good fit?
Filter arguments on list fields, cursor pagination, timestamps on records and documented descriptions. An API without filters still works for small data sets but is slow for large ones.