Tanstack MCP Server

MCP server providing TanStack library documentation and tools

Local serverstdio

What is the Tanstack MCP MCP server?

Tanstack MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP server providing TanStack library documentation and tools.

What you get

🚀 The ultimate bridge between AI coding agents and the TanStack ecosystem.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once Tanstack MCP is connected, these are the calls the assistant has available:

  • search_tanstack_docs — Search the official TanStack documentation with query, library, and framework filters
  • fetch_tanstack_doc — Retrieve the full Markdown content of a doc page (e.g., router, guide/file-based-routing)
  • list_tanstack_libraries — Discover all official TanStack libraries (Query, Router, Table, Form, etc.)
  • list_tanstack_ecosystem — Find partners for hosting, auth, databases, and more
  • create_tanstack_project — Bootstrap a new TanStack Start project with custom add-on configs
  • add_tanstack_addon — Install add-ons (Tailwind, Clerk, etc.) into an existing project
  • pin_tanstack_versions — Pin all TanStack library versions in your package.json for stability

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the tanstack mcp mcp server does with a few real requests.

Choosing this one

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Tanstack MCP's toolset — search_tanstack_docs, fetch_tanstack_doc, list_tanstack_libraries and 4 more — is a fair guide to whether it matches your workflow. It is maintained by gihanrangana; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
search_tanstack_docsSearch the official TanStack documentation with query, library, and framework filters.
fetch_tanstack_docRetrieve the full Markdown content of a doc page (e.g., router, guide/file-based-routing).
list_tanstack_librariesDiscover all official TanStack libraries (Query, Router, Table, Form, etc.).
list_tanstack_ecosystemFind partners for hosting, auth, databases, and more.
create_tanstack_projectBootstrap a new TanStack Start project with custom add-on configs.
add_tanstack_addonInstall add-ons (Tailwind, Clerk, etc.) into an existing project.
pin_tanstack_versionsPin all TanStack library versions in your package.json for stability.

How to install the Tanstack MCP MCP server

{
  "mcpServers": {
    "tanstack": {
      "command": "npx",
      "args": ["-y", "@gihan92/tanstack-mcp"]
    }

  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Tanstack MCP to search tanstack docs.
  • Use Tanstack MCP to fetch tanstack doc.
  • Use Tanstack MCP to list tanstack libraries.

Frequently asked questions

It connects Tanstack MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (search_tanstack_docs, fetch_tanstack_doc, list_tanstack_libraries, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Tanstack MCP directly.