home / mcp / docsetmcp mcp server
Provides offline Dash docset search via MCP with fast local access and drilldown guidance.
Configuration
View docs{
"mcpServers": {
"codybrom-docsetmcp": {
"command": "uvx",
"args": [
"docsetmcp"
],
"env": {
"DOCSET_PATH": "YOUR_DOCSET_PATH",
"CHEATSHEET_PATH": "YOUR_CHEATSHEET_PATH"
}
}
}
}DocsetMCP is an MCP server that lets you search and access your local Dash docsets from AI assistants, providing offline, fast, and precise documentation results without leaving the chat. It ties together your Dash docsets with your MCP client so you can quickly look up APIs, commands, and frameworks while youβre coding or exploring concepts.
You connect DocsetMCP to your MCP client and start querying your local Dash docsets directly from the conversation. Use natural language prompts to search across installed docsets, filter by language, and drill down into frameworks and members. You can also explore related cheatsheets and commands with quick access and smart ranking that favors exact and prefix matches.
Prerequisites and options are available depending on your setup.
# Prerequisites
- macOS with Dash installed and desired docsets downloaded
- Python 3.10 or higher
- UV package manager (How to Install)
- An MCP client that supports MCP (Claude Desktop, Claude Code CLI, Cursor IDE, etc.)
# No installation required if your MCP client supports uvx
# Use the following configuration in your MCP client
{
"mcpServers": {
"docsetmcp": {
"command": "uvx",
"args": ["docsetmcp"]
}
}
}
```
```
# Manual installation
pip install docsetmcp
# Then use the same runtime command in your configurationYou can customize where DocsetMCP looks for docsets and cheatsheets. By default it searches Dashβs standard directories for DocSets and Cheat Sheets, but you can override these locations with environment variables or command line arguments.
# Environment variables to override locations
export DOCSET_PATH="/path/to/your/docsets"
export CHEATSHEET_PATH="/path/to/your/cheatsheets"
# Run with custom paths
docsetmcpOnce configured, your MCP client can perform searches like: Look up a function in a specific docset, find a class, or list available docsets by language. Use exact names when possible to improve precision.
If you run into issues, check your MCP connection, ensure the docset paths are correct, and verify Python version is 3.10 or newer. Common problems include missing docsets in Dash, incorrect command in your MCP config, or environment variable misconfigurations.
Development steps and tests are available for contributors who want to add docsets or improve the server. Run the test suite and development commands as described in the projectβs guidelines to validate configurations and docset structures.
DocsetMCP provides multi-docset search, language filtering, name-based matching, smart ranking, and container guidance for frameworks and classes. It supports quick cheatsheet access and direct database querying for fast results, with in-memory caching to speed up repeated queries.
Search and extract documentation from any docset using a query, target docset, optional language, and max results.
Search Dash cheatsheets for quick command references with optional category and max results.
List all installed Dash docsets with their supported languages.
List all available Dash cheatsheets that can be searched.
List frameworks or types within a specific docset.
Discover all programming languages with available documentation.
Find all docsets that support a specific programming language.
List all available types (Class, Protocol, Function, etc.) in a docset/language.
List entries filtered by type and optional name prefix.
List all categories within a specific cheatsheet.
Fetch entire cheatsheet content for comprehensive access.