search_quantconnect_docsLABSCO SUMMARY
The manual, made answerable.
QuantConnect ships its documentation as long PDFs, and the failure mode is a model that half-remembers the API and invents the rest. This keeps the text local, ranks passages instead of pasting files, and returns the excerpt with its page — so every answer can be checked against the page it came from.
What it is
A documentation search server for QuantConnect's PDF manuals. It converts the PDFs you point it at into markdown, builds a search index over them, and answers a query with ranked excerpts rather than a whole document.
What you get
- Ranked search across every converted document, with the matching passage and its page number
- Results scored by term frequency and boosted when your terms appear close together, so multi-word questions land on the right section
- The catalogue of documents it has processed, with their metadata
- The full text of a named document, or a single page of it
- Conversion skipped for files that have not changed, so restarting is not re-indexing
Requirements
Python, and the PDFs themselves — you tell it which folder holds the manuals and where the converted markdown should live. No account and no outbound call: it reads what is on your disk.
Setup effort
Follow the published steps — python -m venv env
USE CASES
Getting the documented way to write something
Ask in your own words and get the passages that actually cover it, ranked, instead of scrolling a PDF for a section title you cannot remember.
Checking which manuals are loaded
List what has been processed before trusting an answer — if the manual you need was never converted, the search cannot have found it.
Reading a section end to end
Once search has told you where the topic lives, pull that document, or just the page, and read it through rather than in snippets.
Lifting a code example out of the docs
Search for the concept, then fetch the page it sits on so the example arrives whole, with the surrounding explanation attached.
3 tools
Listed in project docs. Your client may show a different list.
list_quantconnect_docsget_document_contentBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
Python 3.8 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
git clone https://github.com/lhstorm/mcp_server_quantconnect_docs
cd mcp_server_quantconnect_docs
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate
pip install -r requirements.txtadd the mcpServers entry to claude_desktop_config.json and restart Claude Desktop
MCP Clients
Any MCP client
{
"mcpServers": {
"quantconnect-pdf-server": {
"command": "<YOUR_PATH_TO_PROJECT>/env/bin/python3",
"args": [
"<YOUR_PATH_TO_PROJECT>/server.py"
],
"env": {
"QUANTCONNECT_PDF_FOLDER": "<YOUR_PATH_TO_PROJECT>/quantconnect-docs",
"QUANTCONNECT_MARKDOWN_FOLDER": "<YOUR_PATH_TO_PROJECT>/quantconnect-docs/markdown"
}
}
}
}