TanStack MCP
Official-grade MCP server for the TanStack ecosystem. Real-time docs, search, and scaffolding.
TanStack MCP Server
π The ultimate bridge between AI coding agents and the TanStack ecosystem.
An official-grade Model Context Protocol (MCP) server that brings the full power of the TanStack CLI directly into your AI assistant. It enables your AI to search official documentation, discover libraries, fetch guides, and scaffold new projectsβall without leaving the chat.
π Key Features
- Keyless Doc Search: Search the official TanStack documentation (Algolia backend) without needing any API keys.
- Full-Text Guides: Fetch real-time Markdown content for any page in the ecosystem.
- Project Scaffolding: Create new TanStack Start applications with AI-assisted commands.
- Ecosystem Discovery: List 16+ libraries, ecosystem partners (hosting, auth, DB), and version info.
- CLI Power: Direct access to scaffolding, add-ons, and version pinning tools.
π οΈ Tools Reference
| Tool | Purpose |
|---|---|
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. |
π» Configuration
You can run the server using npx or Docker.
Method 1: NPX (Recommended)
Add this to your MCP settings file:
{
"mcpServers": {
"tanstack": {
"command": "npx",
"args": ["-y", "@gihan92/tanstack-mcp"]
}
}
}
Method 2: Docker
Requirements: Docker Desktop must be running.
{
"mcpServers": {
"tanstack": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"gihan92/tanstack-mcp:latest"
]
}
}
}
π Local Development
To contribute or test the server locally:
-
Clone the repository:
git clone https://github.com/your-username/tanstack-mcp.git cd tanstack-mcp -
Install dependencies:
pnpm install -
Run in development mode:
pnpm dev -
Build for production:
pnpm build
π Credits & License
This server is a wrapper around the official @tanstack/cli. All documentation and library data are property of TanStack.
Author: gihan92
Related Servers
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Sleep MCP Server
Provides a sleep/wait tool to add delays between operations, such as waiting between API calls or testing eventually consistent systems.
DeepView MCP
Enables IDEs like Cursor and Windsurf to analyze large codebases using Gemini's 1M context window.
Proteus Workflow Engine
A modern, extensible multi-agent workflow engine with real-time monitoring and a web visualization interface.
PowerShell MCP Server
Automate Windows PowerShell tasks using Python. Execute scripts, manage the clipboard, and capture terminal output programmatically.
Image Generation
Generate images from text using the Stable Diffusion WebUI API (ForgeUI/AUTOMATIC-1111).
Tiktoken MCP
Count tokens using OpenAI's tiktoken library.
mcp-codebase-index
Structural codebase indexer with 17 query tools. 87% token reduction. Zero dependencies.
hanabi-cli
A terminal AI chat interface for any LLM model, with file context, MCP, and deployment support.
MCP Advisor
Access the Model Context Protocol specification through prompts and resources.
Semgrep
Static code analysis using Semgrep for security vulnerability detection and code quality improvements.