MCPcopy Index your code
hub / github.com/urql-graphql/urql

github.com/urql-graphql/urql @6.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 6.0.3 ↗ · + Follow
820 symbols 2,838 edges 391 files 62 documented · 8% updated 3d ago@urql/core@6.0.3 · 2026-06-22★ 8,95917 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

urql

A highly customisable and versatile GraphQL client

CI Status Weekly downloads Discord

✨ Features

urql is a GraphQL client that exposes a set of helpers for several frameworks. It's built to be highly customisable and versatile so you can take it from getting started with your first GraphQL project all the way to building complex apps and experimenting with GraphQL clients.

📃 For more information, check out the docs.

💙 Sponsors

BigCommerce BigCommerce WunderGraph WunderGraph The Guild The Guild
BeatGig BeatGig

🙌 Contributing

The urql project was founded by Formidable and is actively developed by the urql GraphQL team.

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

📦 Releases

All new releases and updates are listed on GitHub with full changelogs. Each package in this repository further contains an independent CHANGELOG.md file with the historical changelog, for instance, here’s @urql/core’s changelog.

If you’re upgrading to v4, check out our migration guide, posted as an issue.

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 urql packages. You can use @canary releases from npm if you’d like to get a preview of the merged changes.

📃 Documentation

The documentation contains everything you need to know about urql, and contains several sections in order of importance when you first get started:

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 urql’s code and APIs.

You can find the raw markdown files inside this repository's docs folder.

Extension points exported contracts — how you extend this code

FieldUsage (Interface)
Describes information about a given field, i.e. type (owner), arguments, how many operations use this field
exchanges/populate/src/populateExchange.ts
Cache (Interface)
(no doc) [1 implementers]
exchanges/graphcache/src/types.ts
MutationProps (Interface)
(no doc)
packages/preact-urql/src/components/Mutation.ts
UrqlContext (Interface)
(no doc)
packages/solid-start-urql/src/context.ts
StorageOptions (Interface)
(no doc)
packages/storage-rn/src/makeAsyncStorage.ts
UseSubscriptionResponse (Interface)
(no doc)
packages/vue-urql/src/useSubscription.ts
ClientOptions (Interface)
(no doc)
packages/core/src/client.ts
OperationResultState (Interface)
(no doc)
packages/svelte-urql/src/common.ts

Core symbols most depended-on inside this repo

gql
called by 296
packages/core/src/gql.ts
next
called by 124
exchanges/execute/src/execute.ts
get
called by 117
packages/react-urql/src/hooks/cache.ts
query
called by 105
packages/core/src/client.ts
createRequestOperation
called by 104
packages/core/src/client.ts
makeOperation
called by 97
packages/core/src/utils/operation.ts
resolve
called by 83
exchanges/graphcache/src/types.ts
next
called by 55
exchanges/graphcache/src/operations/shared.ts

Shape

Function 616
Interface 99
Method 89
Class 16

Languages

TypeScript100%

Modules by API surface

exchanges/graphcache/src/store/data.ts39 symbols
exchanges/graphcache/src/types.ts30 symbols
packages/core/src/client.ts26 symbols
exchanges/auth/src/authExchange.ts19 symbols
exchanges/graphcache/src/ast/schema.ts14 symbols
exchanges/graphcache/benchmarks/benchmarks.js14 symbols
packages/core/src/types.ts13 symbols
exchanges/graphcache/src/store/store.ts13 symbols
exchanges/graphcache/src/operations/shared.ts13 symbols
exchanges/graphcache/src/default-storage/index.ts13 symbols
exchanges/graphcache/src/ast/schemaPredicates.ts13 symbols
packages/react-urql/src/hooks/cache.ts11 symbols

Dependencies from manifests, versioned

@0no-co/graphql.web1.0.13 · 1×
@actions/artifact2.3.2 · 1×
@actions/core1.11.1 · 1×
@actions/github6.0.0 · 1×
@apollo/server4.4.1 · 1×
@babel/core7.25.2 · 1×
@babel/plugin-transform-block-scoping7.25.0 · 1×
@babel/plugin-transform-react-jsx7.25.2 · 1×
@babel/plugin-transform-typescript7.25.2 · 1×
@babel/preset-env7.20.2 · 1×
@babel/runtime7.20.1 · 1×
@changesets/cli2.29.6 · 1×

For agents

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

⬇ download graph artifact