MCPcopy Create free account
hub / github.com/TanStack/query

github.com/TanStack/query

Chat with this repo
repository ↗ · DeepWiki ↗ · release release-2026-12-06-1028 ↗ · + Follow · compare 28 versions

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

3,897 symbols 15,686 edges 2,343 files 384 documented · 10% ● updated today★ 50,84440 open issues

Browse by type

⨍ Functions 3,022◇ Types & classes 875
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

<img
  src="https://tanstack.com/api/readme/query.png"
  alt="TanStack Query"
  width="900"
/>

semantic-release Best of JS Follow @TanStack

Become a Sponsor!

TanStack Query

An async state management library built to simplify fetching, caching, synchronizing, and updating server state.

  • Protocol‑agnostic fetching (REST, GraphQL, promises, etc.)
  • Caching, refetching, pagination & infinite scroll
  • Mutations, dependent queries & background updates
  • Prefetching, cancellation & React Suspense support

Read the docs →

Get Involved

Partners

Cloudflare

Query & you?

We're looking for TanStack Query Partners to join our mission! Partner with us to push the boundaries of TanStack Query and build amazing things together.

LET'S CHAT

Explore the TanStack Ecosystem

… and more at TanStack.com »

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 2,327
Method 695
Class 594
Interface 277
Enum 4

Languages

TypeScript100%

Modules by API surface

packages/query-core/src/query.ts51 symbols
packages/query-core/src/types.ts45 symbols
packages/query-core/src/queryClient.ts39 symbols
packages/query-devtools/src/Devtools.tsx38 symbols
packages/query-core/src/queryObserver.ts38 symbols
examples/lit/pagination/src/main.ts29 symbols
packages/lit-query/src/createQueriesController.ts28 symbols
scripts/generate-docs.ts27 symbols
packages/vue-query/src/queryClient.ts27 symbols
packages/query-devtools/src/icons/index.tsx25 symbols
packages/query-devtools/src/Explorer.tsx25 symbols
packages/query-core/src/utils.ts24 symbols

Dependencies from manifests, versioned · 12 of 222, runtime first

@solidjs/start2.2.0 · 1×
@tanstack/pacer0.23.1 · 1×
@tanstack/solid-router1.170.43 · 1×
@tanstack/svelte-queryworkspace:* · 1×
@zag-js/preact1.46.0 · 1×
broadcast-channel7.4.0 · 1×
devalue6.0.3 · 1×
expo58.0.22 · 1×
idb-keyval6.3.0 · 1×

For agents

$ claude mcp add --transport http codehub https://codehub.bot/mcp

One hosted endpoint, no key: your agent can search, read and trace TanStack/query and every other graph here. Cursor, Windsurf and other clients →

⬇ download graph artifact

Ask about this repo answers extend the page