A Model Context Protocol (MCP) server that provides seamless access to Delphi documentation directly within your AI coding assistant.
- 📚 Multi-Source Documentation - Access both RAD Studio VCL and DevExpress VCL documentation
- 🔍 Smart Search - Full-text search with wildcard (
*,?) and fuzzy matching support - ⚡ Fast & Cached - Local caching for quick subsequent lookups
- 🤖 AI-Friendly - Structured Markdown output optimized for LLM consumption
From npm (recommended):
npm install -g delphi-doc-mcpFrom source:
git clone https://github.com/LinFallen/delphi-doc-mcp.git
cd delphi-doc-mcp
npm install
npm run buildNote: On first run, the server will automatically crawl documentation. This takes a few minutes but only happens once. Data is stored in
~/.delphi-doc-mcp/.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"delphi-docs": {
"command": "npx",
"args": ["delphi-doc-mcp@latest"]
}
}
}Note: On first run, the server will automatically crawl documentation (~2-5 minutes). Data is cached in
~/.delphi-doc-mcp/.
| Tool | Description |
|---|---|
discover_units |
Browse/filter available documentation units |
choose_unit |
Select active documentation source and unit |
current_unit |
Show current selection and next steps |
search_symbols |
Search classes, methods, properties |
get_documentation |
Get full documentation for a symbol |
get_version |
Get server version and statistics |
1. Explore → discover_units { "query": "grid" }
2. Select → choose_unit { "source": "devexpress", "unit": "cxGrid" }
3. Search → search_symbols { "query": "TcxGrid*" }
4. Read → get_documentation { "symbol": "TcxGrid" }
- Exact match:
TcxGrid - Starts with:
Tcx* - Ends with:
*Grid - Contains:
*Data* - Fuzzy: Automatically enabled for typo tolerance
src/
├── index.ts # Entry point
├── model/ # Data types
├── crawler/ # Documentation crawlers
├── parser/ # HTML parsers
├── indexer/ # Search indexing
└── server/ # MCP server
# Install dependencies
npm install
# Run in development mode
npm run dev
# Test crawling a single class
npm run crawl:devexpress -- --test https://docs.devexpress.com/VCL/cxGrid.TcxGrid
# Build for production
npm run build
# Run tests
npm run testMIT