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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA generic, configurable MCP server that makes any MkDocs documentation site searchable and explorable from MCP clients.MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides indexed, searchable access to Anthropic Claude and Google Gemini documentation, with full-text search, page fetching, and section listing capabilities.4MIT
- AlicenseAqualityCmaintenanceMCP server to access and search adonis-mcp documentation files from GitHub, with tools for listing, searching, and extracting code examples.3116 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for documentation search that automatically indexes web documentation sites and provides semantic, full-text, or hybrid search capabilities.5 npmMIT