Turbo Docs MCP Server
Provides access to the complete Turbo JS documentation, organized into handbook sections and reference materials covering Drive, Page Refreshes, Frames, Streams, Native implementations, and installation guides.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Turbo Docs MCP Server explain how Turbo frames work"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Turbo Docs MCP Server
An MCP server to access up to date documentation for Turbo JS.
⚠️ This is Experimental Software
This MCP is in early development. It may contain bugs, have limited functionality, or undergo breaking changes without notice. Use at your own risk and expect potential instability.
Building the MCP Server
Prerequisites
Node.js: Minimum version 18.0.0 or higher
npm: Comes bundled with Node.js
Build Instructions
Clone this repository and navigate to the project directory
Install dependencies:
npm installBuild the project using the provided script:
npm run build
This will compile the TypeScript source code and create the executable in the build/ directory.
Related MCP server: DocuMCP
Usage
With Claude Desktop
First, build the MCP server following the instructions above
Follow the instructions at https://modelcontextprotocol.io/quickstart/user to add a new MCP server.
Add the following configuration:
{
"mcpServers": {
"Turbo-docs": {
"command": "node",
"args": ["/path/to/your/Turbo-docs-mcp-server/build/index.js"],
"env": {}
}
}
}Replace
/path/to/your/Turbo-docs-mcp-serverwith the actual path to this projectRestart Claude Desktop
The Turbo documentation tools should now be available in your Claude conversations
With VS Code
Build the MCP server following the instructions above
Follow the instructions at https://code.visualstudio.com/docs/copilot/chat/mcp-servers
Using your preferred method based on the instructions above, configure the MCP server by pointing it to the built executable:
{ "Turbo-docs": { "type": "stdio", "command": "node", "args": [ "path/to/your/Turbo-docs-mcp-server" ] } }Replace
path/to/your/Turbo-docs-mcp-serverwith the path to theindex.jsfile built in step 1.The Turbo documentation will be accessible through the MCP client interface
Troubleshooting
Claude
You may see the following errors when opening Claude after configuring the MCP:
MCP Turbo-docs: spawn node ENOENT (2)
Could not connect to MCP server Turbo-docs
MCP Turbo-docs: Server disconnected. For troubleshooting guidance [...]
This is because the path to the node executable can not be found. If that's the case, instead of "command": "node" use the complete path to the node. If you use mise it may be something like:
"command": "/Users/<YOUR USER NAME/.local/share/mise/installs/node/20.18.3/bin/nodeDocumentation Source
The Turbo documentation files included are copied from the official Turbo-site repository.
The next phase of exploration for this MCP could be to fetch the docs from the web to keep them up to date and store them locally for a set period of time.
All credit for the documentation content goes to the Turbo team and contributors.
Available Tools
This MCP server provides access to the complete Turbo documentation, organized into:
Handbook:
Introduction
Drive
Page Refreshes
Frames
Streams
Native
Building with Turbo
Installing Turbo
Reference:
Attributes
Drive
Events
Frames
Streams
Each documentation section is available as a separate tool that can be called to retrieve the relevant content.
Available Tools
13 toolshandbook-buildingC
Building Turbo applications - covers script handling, JavaScript bundling, caching strategies, installing behavior with Stimulus, making transformations idempotent, and persisting elements across page loads
Inputs: no named parameters.
handbook-driveB
Turbo Drive navigation guide - covers page visits, application/restoration visits, link handling, form submissions, progress indicators, caching, prefetching, and view transitions for fast page navigation
Inputs: no named parameters.
handbook-framesC
Turbo Frames for page decomposition - covers independent page segments, scoped navigation, eager/lazy loading, cache benefits, targeting navigation, frame promotion to visits, and custom rendering
Inputs: no named parameters.
handbook-installingB
Installing Turbo in your application - covers CDN installation, npm package setup, bundler integration, importing strategies, and Rails-specific installation with turbo-rails gem
Inputs: no named parameters.
handbook-introductionB
Introduction to Turbo - learn about HTML-over-the-wire approach, persistent processes, and how Turbo Drive, Frames, Streams, and Native work together to create fast web applications without heavy JavaScript frameworks
Inputs: no named parameters.
handbook-nativeB
Hotwire Native for mobile apps - overview of iOS and Android native app development using Turbo-enabled web views for hybrid applications with native navigation and web content
Inputs: no named parameters.
handbook-page-refreshesC
Page refresh techniques with morphing - learn about smooth page updates using DOM morphing with idiomorph, scroll preservation, excluding sections from morphing, and broadcasting refresh streams
Inputs: no named parameters.
handbook-streamsC
Turbo Streams for live updates - learn about the 9 stream actions (append, prepend, replace, update, remove, before, after, morph, refresh), WebSocket/SSE integration, and server-side template reuse
Inputs: no named parameters.
reference-attributesB
Complete reference for Turbo data attributes and meta tags - covers all data-turbo-* attributes for controlling Drive behavior, frame navigation, caching, and automatically added attributes like aria-busy
Inputs: no named parameters.
reference-driveB
Turbo Drive API reference - detailed documentation of Drive methods, configuration options, and programmatic control of navigation behavior
Inputs: no named parameters.
reference-eventsB
Turbo events reference - comprehensive list of all Turbo events fired during navigation, form submissions, frame updates, and stream processing for lifecycle management
Inputs: no named parameters.
reference-framesB
Turbo Frames API reference - detailed frame element attributes, JavaScript methods, lifecycle callbacks, and programmatic frame control
Inputs: no named parameters.
reference-streamsB
Turbo Streams API reference - complete documentation of stream actions, JavaScript methods, custom action creation, and programmatic stream handling
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Every tool has a clearly distinct purpose with no overlap. The 'handbook-' tools cover conceptual topics and tutorials, while the 'reference-' tools provide API documentation, making it impossible to confuse them. Each tool name directly indicates its specific scope within the Turbo framework.
The naming follows a perfect and predictable pattern throughout. All tools use a consistent 'prefix-topic' format with kebab-case, where 'handbook-' indicates conceptual guides and 'reference-' indicates API documentation. This consistency makes the tool set highly readable and predictable.
With 13 tools, the count is well-scoped and appropriate for the server's purpose of documenting Turbo. It covers all major aspects (Drive, Frames, Streams, Native, installation, attributes, events) without being overwhelming, and each tool earns its place by addressing a distinct area of the framework.
The tool set provides complete coverage of the Turbo documentation domain. It includes all core concepts (introduction, building, installing, Drive, Frames, Streams, Native, page refreshes) and comprehensive API references (attributes, Drive, events, Frames, Streams), leaving no gaps for agents to navigate the framework effectively.
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for opencode documentation, generated by doc2mcp.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.-
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables Claude to generate, search, and manage documentation for codebases using vector embeddings and semantic search, providing tools for creating user guides, technical documentation, code explanations, and architectural diagrams.6-
- AlicenseAqualityDmaintenanceAn MCP server that provides access to up-to-date Stimulus JS documentation directly within Claude conversations and VS Code.166ISC
- AlicenseNot gradedqualityDmaintenanceAn MCP server that makes project documentation instantly accessible in Claude Code through @ mentions, allowing Claude to understand your codebase's conventions and architecture.6MIT