Qt4 Doc MCP server
io.github.jztan/qt4-doc-mcp-server·v0.7.0·3 starsOffline MCP server for local Qt 4.8, Qt 5, and Qt 6 documentation with full-text search.
3 stars13 downloads/wk
Reviews
Write oneNobody has reviewed Qt4 Doc yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Qt4 Doc tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
read_documentationFetch a page from the active local Qt documentation set and return Markdown.
search_documentationSearch the active local Qt documentation set for relevant pages.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan18 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 67 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Qt4 Doc compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 3,470 Web search servers
- Tools
- 2
- the typical Web search server has 5
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 73% of 1,786 Web search servers
- Downloads a week
- 13
- more than 3% of 827 Web search servers with a package
What its tools let an agent do: 2 read
Install Qt4 Doc in Claude Code, Cursor or VS Code
claude mcp add qt4-doc-mcp-server -- uvx qt4-doc-mcp-server
What the publisher says
From the Qt4 Doc repository's README, as published. We do not edit it. Read it on GitHub
Qt Documentation MCP Server
mcp-name: io.github.jztan/qt4-doc-mcp-server
Bring locally installed Qt 4.8, Qt 5, or Qt 6 documentation to your AI coding assistant. Works offline with one selected documentation set at a time.
Tool Reference | Changelog | Contributing | Troubleshooting
✨ Features
- 🔌 Offline-First - Works entirely with local documentation
- 🔍 Full-Text Search - Find what you need across all Qt docs
- ⚡ Smart Caching - Fast responses for repeated queries
- 🎯 Fragment Support - Extract specific sections when needed
- 🛠️ MCP Standard - Compatible with Claude, VS Code, and other MCP clients
📦 Prerequisites
- Python 3.11+ required (not needed when using the Docker image)
- Qt HTML Documentation for one supported release (Qt 4.8, Qt 5, or Qt 6)
- The included helper downloads Qt 4.8.4 only.
- Point QTDOCBASE directly at an existing Qt 5/6 offline documentation root.
- ~500MB disk space for docs + cache + search index
- SQLite with FTS5 support (included in Python 3.11+ by default)
🚀 Installation
From PyPI (Recommended)
pip install qt4-doc-mcp-serverFrom Source
git clone https://github.com/jztan/qt4-doc-mcp-server.git
cd qt4-doc-mcp-server
uv sync --lockedSetup Qt Documentation
# Automated setup (recommended, requires the cloned repo)
python scripts/prepare_qt48_docs.py --segments 4
# This will:
# - Download Qt 4.8.4 source archive
# - Extract HTML documentation
# - Create .env with sensible defaults
# - Copy GFDL license fileThe helper script ships with the repo, not the PyPI package. Installed from PyPI only? Download the docs manually instead:
curl -LO https://download.qt.io/archive/qt/4.8/4.8.4/qt-everywhere-opensource-src-4.8.4.tar.gz
tar -xzf qt-everywhere-opensource-src-4.8.4.tar.gz qt-everywhere-opensource-src-4.8.4/doc/html
mv qt-everywhere-opensource-src-4.8.4/doc/html ./qt4-docs-htmlThen create a .env with QTDOCBASE pointing at that directory (see Configuration below).
Quick Start Commands
# 1. Install
pip install qt4-doc-mcp-server
# 2. Setup Qt docs
python scripts/prepare_qt48_docs.py --segments 4
# 3. Build search index (optional; the server builds it on first start)
qt-doc-build-index
# 4. Start server
qt-doc-mcp
# 5. Verify health
curl -s http://127.0.0.1:8000/healthThe legacy qt4-doc-mcp-server command remains available as an alias for existing client configurations.
Agent-friendly FTS CLI
After building the index, agents can search and receive materialized absolute Markdown paths:
qt-doc-cli "accessible applications" --limit 5The command reads the same .env settings as the server. Before searching, it automatically builds a missing/outdated FTS index and fully warms an incomplete Markdown cache. It then prints each result's title, absolute .md path, and FTS snippet to stdout; preparation messages, errors, and warnings go to stderr. Use qt-doc-warm-md --force after changing documentation in place.
🐳 Docker
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Qt4 Doc: common questions
- Is Qt4 Doc MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Qt4 Doc safety report
- How do I install Qt4 Doc?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Qt4 Doc need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is Qt4 Doc maintained?
- The last commit was 107 days ago (2026-07-20). The latest release is v0.7.0.
- What can I use instead of Qt4 Doc?
- Servers from other publishers that do the same job: Docdex MCP server, Arxiv MCP server and Pubmed MCP server.
- How does Qt4 Doc compare with other Web search MCP servers?
- safety score 88/100 (higher than 80% of 3,470 Web search servers); tools 2 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Qt4 Doc
Same job from other publishers: the closest match first, then the best rated.
- DocdexFast per-repo documentation indexer and full-text search MCP server for codebases.not reviewedGrowingB
- ArxivSearch arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.not reviewedWidely usedA
- PubmedSearch PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.not reviewedEstablishedA
GitHitsSearch public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.not reviewedEstablishedA- Sui Knowledge Base (kapa.ai)Semantic search across Sui documentation and knowledge sources, powered by kapa.ainot reviewedEstablishedA