Fumadocs MCP Server

An MCP server that provides AI tools with access to Fumadocs documentation.

README.md

Fumadocs MCP Server

An MCP (Model Context Protocol) server that provides AI tools with access to Fumadocs documentation. This makes it easier for AI assistants to help you integrate Fumadocs into your existing projects.

Features

  • Search documentation - Find relevant docs by keyword
  • Browse topics - Explore documentation sections
  • Fetch pages - Get full content of any documentation page
  • Setup guides - Get framework-specific installation instructions
  • Component docs - Get UI component documentation with props and examples

Installation

Using npx (recommended)

npx fumadocs-mcp

Global installation

npm install -g fumadocs-mcp
fumadocs-mcp

From source

git clone https://github.com/k4cper-g/fumadocs-mcp
cd fumadocs-mcp
npm install
npm run build

Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "fumadocs": {
      "command": "npx",
      "args": ["fumadocs-mcp"]
    }
  }
}

Or if installed from source:

{
  "mcpServers": {
    "fumadocs": {
      "command": "node",
      "args": ["/path/to/fumadocs-mcp/build/index.js"]
    }
  }
}

Claude Code

The MCP will be automatically available when configured in Claude Desktop.

Available Tools

`list_topics`

Browse available documentation sections and topics.

Parameters:
- section (optional): "all" | "cli" | "headless" | "framework" | "mdx" | "ui"

`search_docs`

Search documentation by keyword.

Parameters:
- query (required): Search query string
- section (optional): Filter to a specific section

`get_page`

Fetch the full content of a documentation page.

Parameters:
- path (required): Documentation path (e.g., "/docs/manual-installation/next")

`get_setup_guide`

Get a complete setup guide for adding Fumadocs to an existing project.

Parameters:
- framework (required): "next" | "react-router" | "tanstack-start" | "waku"
- includeUI (optional): Whether to include UI setup instructions (default: true)

`get_component`

Get documentation for a specific UI component.

Parameters:
- component (required): Component name (e.g., "accordion", "tabs", "codeblock")

Example Usage

Once configured, you can ask Claude things like:

  • "How do I add Fumadocs to my existing Next.js project?"
  • "Show me how to use the Tabs component in Fumadocs"
  • "Search for documentation about internationalization"
  • "What components are available in Fumadocs UI?"

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
npm run dev

# Test with MCP Inspector
npm run inspector

License

MIT

Tools 5

list_topicsBrowse available documentation sections and topics.
search_docsSearch documentation by keyword.
get_pageFetch the full content of a documentation page.
get_setup_guideGet a complete setup guide for adding Fumadocs to an existing project.
get_componentGet documentation for a specific UI component.

Try it

How do I add Fumadocs to my existing Next.js project?
Show me how to use the Tabs component in Fumadocs
Search for documentation about internationalization
What components are available in Fumadocs UI?

Frequently Asked Questions

What are the key features of Fumadocs?

Search documentation by keyword. Browse documentation sections and topics. Fetch full content of any documentation page. Get framework-specific installation instructions. Retrieve UI component documentation with props and examples.

What can I use Fumadocs for?

Quickly finding installation steps for specific frameworks like Next.js or Waku. Getting immediate implementation details for UI components without leaving the IDE. Searching for specific configuration options within the Fumadocs documentation. Assisting developers in migrating or setting up new documentation sites using Fumadocs.

How do I install Fumadocs?

Install Fumadocs by running: npx fumadocs-mcp

What MCP clients work with Fumadocs?

Fumadocs works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Fumadocs docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare