Docs
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Prisma
Strapi
Unkey
UI.dev
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Prisma
Strapi
Unkey
UI.dev
Getting Started
Getting Started

Overview

TanStack MCP Server provides AI assistants with direct access to TanStack documentation through the Model Context Protocol. This allows AI tools like Claude, Cursor, and others to search and retrieve up-to-date documentation for all TanStack libraries.

Why Use the MCP Server?

AI assistants are trained on snapshots of documentation that become stale over time. The TanStack MCP Server solves this by giving AI tools real-time access to:

  • Current documentation for all TanStack libraries (Router, Query, Table, Form, Virtual, Store, and more)
  • Version-specific docs for the exact version you're using
  • Full-text search across all documentation

Quick Start

Most MCP clients support OAuth authentication. Just add the server URL:

https://tanstack.com/api/mcp

Your client will open a browser window to authorize access on first use. No API key needed.

See Connecting for client-specific setup instructions.

Available Tools

The MCP server exposes tools for documentation and showcase management:

Documentation Tools

ToolDescriptionAuth Required
list_librariesList all TanStack libraries with their versions and metadataNo
get_docFetch a specific documentation page by library and pathNo
search_docsFull-text search across all TanStack documentationNo

Showcase Tools

ToolDescriptionAuth Required
search_showcasesSearch approved TanStack showcase projectsNo
get_showcaseGet details of a specific showcase projectNo
submit_showcaseSubmit a new project to the showcaseYes
update_showcaseUpdate your existing showcase submissionYes
delete_showcaseDelete your showcase submissionYes
list_my_showcasesList your own showcase submissionsYes

NPM Stats Tools

ToolDescriptionAuth Required
get_npm_statsGet aggregated download stats for TanStack or a libraryNo
list_npm_comparisonsList preset package comparisons (Data Fetching, etc.)No
compare_npm_packagesCompare download stats for multiple packages over timeNo
get_npm_package_downloadsGet detailed historical downloads for a single packageNo

See Available Tools for detailed parameter documentation.

How It Works

The TanStack MCP Server uses the Streamable HTTP transport, making it compatible with serverless deployments and any MCP client that supports HTTP transport. When your AI assistant needs TanStack documentation, it calls the appropriate tool and receives the content directly.

AI Assistant → MCP Client → TanStack MCP Server → Documentation

All documentation is fetched directly from the TanStack GitHub repositories, ensuring you always get the most current content for your specified version.