pysphinx_mcp
Provides tools for browsing, searching, and reading Sphinx documentation sites, allowing AI agents to list pages, read page content, perform full-text search, and list heading structures of documentation pages.
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., "@pysphinx_mcplist all pages in Sphinx docs at https://docs.python.org"
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.
pysphinx_mcp
MCP server for browsing, searching, and reading Sphinx documentation sites.
Tools
list_pages(base_url): all pages on a docs siteread_page(base_url, page_path): page content as clean textsearch_docs(base_url, query): full-text search via Sphinx search indexlist_sections(base_url, page_path): heading structure (h1-h4) of a pageget_api_signature(base_url, object_path): signature, parameters, and docstring for a class or function
Related MCP server: MCP AI Docs
Install
pip install -U pysphinx_mcpUsage
As an MCP server
Register with any MCP host:
{
"mcpServers": {
"sphinx-docs": {
"command": "python",
"args": ["-m", "pysphinx_mcp"]
}
}
}As a library
Each tool is an async function, import and call from your own code:
from pysphinx_mcp import search_docs, read_page, get_api_signature
async def main():
results = await search_docs(
"https://docs.python.org/3/",
"async await",
)
content = await read_page(
"https://docs.python.org/3/",
"library/asyncio.html",
)
signature = await get_api_signature(
"https://docs.python.org/3/",
"asyncio.gather",
)
Composing with other servers
Import the FastMCP instance for mounting or wrapping:
from pysphinx_mcp import mcp
parent_server.mount(mcp)This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for opencode documentation, generated by doc2mcp.
MCP server for manus documentation, generated by doc2mcp.
MCP server for developer documentation, generated by doc2mcp.
MCP server for learnhouse documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA generic, configurable MCP server that makes any MkDocs documentation site searchable and explorable from MCP clients.MIT
- FlicenseAqualityDmaintenanceAn MCP server that provides indexed, searchable access to Anthropic Claude and Google Gemini documentation, with full-text search, page fetching, and section listing capabilities.4-
- AlicenseAqualityCmaintenanceMCP server to access and search adonis-mcp documentation files from GitHub, with tools for listing, searching, and extracting code examples.312 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for documentation search that automatically indexes web documentation sites and provides semantic, full-text, or hybrid search capabilities.2 npmMIT