Gitbook MCP
@rickysullivan
About Gitbook MCP
The GitBook MCP server enables programmatic access to GitBook Organizations, Spaces, Collections, and Content through a standardized MCP interface. It provides 12 tools for content operations and 6 AI-powered prompts for documentation workflows.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gitbook-mcp": {
"command": "npx",
"args": [
"gitbook-mcp",
"--organization-id=your_organization_id"
],
"env": {
"GITBOOK_API_TOKEN": "gb_api_your_token_here"
}
}
}
}Tools
12List all GitBook organizations accessible with the current API token
List all spaces in a GitBook organization, optionally filtered by organization ID
Get detailed information about a specific GitBook space
Get the complete content structure and page hierarchy of a GitBook space
Retrieve the content of a specific page from a GitBook space, with options for format and metadata
Retrieve a page from a GitBook space using its path instead of page ID
Search for content within a GitBook space using a text query
List all files (images, documents, etc.) uploaded to a GitBook space
Get detailed information about a specific file uploaded to a GitBook space
List all collections in a GitBook organization, optionally filtered by organization ID
Get detailed information about a specific GitBook collection
List all spaces that belong to a specific GitBook collection
Overview
What is Gitbook MCP?
A Model Context Protocol server that provides access to GitBook's API for AI assistants and LLM applications. It enables programmatic access to GitBook Organizations, Spaces, Collections, and Content through 12 tools and 6 AI-powered prompts for documentation workflows.
How to use Gitbook MCP?
Install via npx gitbook-mcp. Configure with a GitBook API token and optional organization/space ID. Set up the server in your MCP client (VS Code, Claude Desktop, JetBrains) by adding the JSON configuration shown in the README. Use CLI arguments or environment variables for credentials.
Key features of Gitbook MCP
- 12 read-only, idempotent tools for content operations
- 6 AI-powered prompts for documentation workflows
- Search and retrieve GitBook content programmatically
- Supports integration with multiple IDEs and AI assistants
- Organization discovery, space management, and file retrieval
Use cases of Gitbook MCP
- Automating documentation retrieval and analysis in AI assistants
- Identifying content gaps and performing quality audits
- Generating structured summaries and optimizing content for SEO
- Integrating GitBook content into custom LLM-based workflows
FAQ from Gitbook MCP
What credentials are required to use Gitbook MCP?
A GitBook API token (obtainable from https://app.gitbook.com/account/developer) is required. An organization ID is optional but recommended.
How do I configure Gitbook MCP in my AI assistant?
Add the server definition to your MCP client’s configuration file using the JSON examples provided in the README for VS Code, Claude Desktop, or JetBrains IDEs.
Can I use .env files for configuration?
.env files are only supported when running the server locally for development, not when using npx gitbook-mcp.
Does Gitbook MCP modify any content?
No. All 12 tools are labeled read-only and idempotent; they only retrieve or search data without making changes.
More Memory & Knowledge MCP servers
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
JupyterMCP - Jupyter Notebook Model Context Protocol Integration
jjsantos01A Model Context Protocol (MCP) for Jupyter Notebook

Dash Api Docs Mcp Server
KapeliMCP server for Dash, the macOS API documentation browser
Notion MCP Integration
danhilseA simple MCP integration that allows Claude to read and manage a personal Notion todo list
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Comments