MCPcopy Index your code
hub / github.com/0no-co/gql.tada

github.com/0no-co/gql.tada @1.11.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.11.2 ↗ · + Follow
835 symbols 1,932 edges 184 files 48 documented · 6% 21 cross-repo links updated 6d ago@gql.tada/internal@1.2.1 · 2026-06-17★ 2,9505 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

gql.tada 🪄

Magical GraphQL query engine for TypeScript

CI Status Discord

gql.tada is a GraphQL document authoring library, inferring the result and variables types of GraphQL queries and fragments in the TypeScript type system. It derives the types for your GraphQL queries on the fly allowing you to write type-safe GraphQL documents quickly.

In short, gql.tada,

  • parses your GraphQL documents in the TypeScript type system
  • uses your introspected schema and scalar configuration to derive a schema
  • maps your GraphQL queries and fragments with the schema to result and variables types
  • creates fragment masks and enforces unwrapping fragments gradually

Since this is all done in the TypeScript type system and type checker, this all happens while you edit your GraphQL front-end code and is always accurate.

In short, with gql.tada and GraphQLSP you get on-the-fly, automatically typed GraphQL documents with full editor feedback, auto-completion, and type hints!

📃 Documentation

Check out the “Get Started” section’s Installation page in the documentation.

Furthermore, all APIs and packages are self-documented using TSDocs. If you’re using a language server for TypeScript, the documentation for each API should pop up in your editor when hovering gql.tada’s code and APIs.

🔎 Let’s take a look!

Code Editor showing GraphQL queries being edited with gql.tada and GraphLSP

📦 Releases

If you'd like to get involved, check out our Contributor's guide.

All new releases and updates are listed on GitHub with full changelogs. The CHANGELOG.md file further documents all the historical changes for gql.tada.

New releases are prepared using changesets, which are changelog entries added to each PR, and we have “Version Packages” PRs that once merged will release new versions of the gql.tada package. You can use @canary releases from npm if you’d like to get a preview of the merged changes.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 497
Interface 166
Method 101
Class 38
Enum 33

Languages

TypeScript100%

Modules by API surface

packages/cli-utils/src/ts/container.ts33 symbols
src/__tests__/tsHarness/virtualHost.ts32 symbols
packages/cli-utils/src/commands/scan/context.ts30 symbols
packages/cli-utils/src/ts/factory.ts28 symbols
packages/cli-utils/src/threads/index.ts20 symbols
packages/cli-utils/src/term/tty.ts20 symbols
packages/cli-utils/src/commands/doctor/helpers/versions.ts20 symbols
packages/internal/src/resolve.ts19 symbols
packages/cli-utils/src/commands/scan/types.ts19 symbols
packages/cli-utils/src/commands/turbo/thread.ts18 symbols
src/__tests__/tsHarness/typeCheckerHost.ts17 symbols
packages/internal/src/loaders/introspection.ts17 symbols

Dependencies from manifests, versioned

@0no-co/graphqlsp1.17.3 · 1×
@0no-co/typescript.js5.3.2-2 · 1×
@actions/core1.11.1 · 1×
@actions/github6.0.1 · 1×
@apollo/client4.2.3 · 1×
@babel/plugin-transform-block-scoping7.25.0 · 1×
@babel/plugin-transform-typescript7.25.2 · 1×
@changesets/cli2.29.6 · 1×
@changesets/get-github-info0.6.0 · 1×
@clack/prompts0.7.0 · 1×
@gql.tada/cli-utilsworkspace:* · 1×

For agents

$ claude mcp add gql.tada \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page