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

github.com/TanStack/query

Chat with this repo
repository ↗ · DeepWiki ↗ · release release-2026-06-27-2033 ↗ · + Follow · compare 27 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.

2,801 symbols 10,426 edges 1,117 files ⚖ MIT 29 documented · 1% ● updated 1d agolatest release release-2026-11-23-1318 · 2026-11-23★ 50,83740 open issues

Browse by type

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

TanStack Query

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

CodeRabbit 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 1,740
Method 535
Class 296
Interface 227
Enum 3

Languages

TypeScript100%

Modules by API surface

packages/query-core/src/query.ts51 symbols
packages/query-core/src/types.ts44 symbols
packages/query-core/src/queryObserver.ts40 symbols
packages/query-devtools/src/Devtools.tsx37 symbols
packages/query-core/src/queryClient.ts37 symbols
examples/lit/pagination/src/main.ts29 symbols
packages/lit-query/src/createQueriesController.ts28 symbols
packages/query-core/src/utils.ts26 symbols
packages/vue-query/src/queryClient.ts25 symbols
packages/query-devtools/src/icons/index.tsx25 symbols
packages/query-core/src/queryCache.ts23 symbols
packages/query-core/src/mutationCache.ts22 symbols

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

@astrojs/vercel8.1.3 · 1×
@solidjs/start1.1.3 · 1×
@tanstack/svelte-queryworkspace:* · 1×
broadcast-channel7.0.0 · 1×
expo52.0.11 · 1×
font-awesome4.7.0 · 1×
idb-keyval6.2.1 · 1×
localforage1.10.0 · 1×
match-sorter6.3.4 · 1×
msw2.6.6 · 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