OpenClaw Docs MCP
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.
π OpenClaw Docs MCP
An MCP RAG server providing powerful hybrid search over OpenClaw documentation
OpenClaw Docs MCP indexes the OpenClaw documentation into PostgreSQL using pgvector and exposes powerful hybrid search tools via HTTP using FastMCP.
β¨ Key Features
π§ Hybrid Search: Combines semantic (pgvector) and full-text search across ~721 English documentation pages.
π οΈ 13 MCP Tools: Fully equipped with search,
get_chunk, navigation (next/prev), page outlines, and index statistics.β‘ HTTP Transport: Exposed securely over HTTP with API key authentication.
π Incremental Sync: Smart content-hash syncing to avoid redundant updates.
βοΈ Production Ready: Includes
systemdservice files and an optional daily sync timer.
Related MCP server: knowledge-server
π Requirements
Python:
3.11+Database:
PostgreSQL 15+with the pgvector extension.AI: OpenAI API key (for embedding generation using
text-embedding-3-small).
π Setup & Installation
1. Environment Setup
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"2. Configuration
cp config.env.example config.env
# Edit config.env with: DATABASE_URL, OPENAI_API_KEY, API_KEY3. Database & Ingestion
# Run migrations (ensure your database exists)
alembic upgrade head
# Crawl sitemap and index content (~5-15 min)
openclaw-docs-mcp ingest --full4. Run the Server
openclaw-docs-mcp serveπ Server runs at
http://0.0.0.0:8000/mcp(configurable viaMCP_PORT).
π§° MCP Tools Available
β οΈ Note: Write all queries in English for the best results (docs are indexed in English only).
Tool | Description |
| Hybrid semantic + full-text search |
| Search within a single document |
| Full-text search only |
| Full chunk by ID |
| Batch retrieve chunks |
| Navigate document order |
| Previous + current + next |
| Symmetric context around a chunk |
| Paginate chunks in a document |
| List indexed pages |
| Headings + chunk IDs |
| Index statistics |
π Cursor Configuration
π Localhost (same machine)
{
"mcpServers": {
"openclaw-docs": {
"url": "http://127.0.0.1:8000/mcp",
"headers": {
"Authorization": "***"
}
}
}
}π Remote (e.g., Cloudflare tunnel)
{
"mcpServers": {
"openclaw-docs": {
"command": "npx",
"args": [
"-y", "mcp-remote@latest",
"https://your-tunnel.example.com/mcp",
"--header", "Authorization: Bearer ${OPENCLAW_DOCS_API_KEY}"
],
"env": {
"OPENCLAW_DOCS_API_KEY": "YOUR_API_KEY"
}
}
}
}βοΈ systemd Deployment
For automated management and background syncing:
sudo cp deploy/openclaw-docs-mcp.service /etc/systemd/system/
sudo cp deploy/openclaw-docs-mcp-sync.service deploy/openclaw-docs-mcp-sync.timer /etc/systemd/system/
sudo cp deploy/sync-wrapper.sh /home/miguelcc06/openclaw-docs-mcp/deploy/
chmod +x deploy/sync-wrapper.sh
sudo systemctl daemon-reload
sudo systemctl enable --now openclaw-docs-mcp
sudo systemctl enable --now openclaw-docs-mcp-sync.timerπ‘ Tip: Set
SYNC_ENABLED=trueandSYNC_SCHEDULE=dailyinconfig.env.
π» CLI Commands Quick Reference
openclaw-docs-mcp serve # Start HTTP MCP server
openclaw-docs-mcp ingest --full # Full re-index
openclaw-docs-mcp sync # Incremental sync
openclaw-docs-mcp stats # Index statistics
alembic upgrade head # Apply DB migrationsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Search the official docs of Claude Code, Cursor, OpenAI Codex and MCP, refreshed daily.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Search and read Vector Panda docs: API operations, pricing, storage tiers, measured benchmarks.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceProvides hybrid semantic and keyword code search for Claude Code using BM25 and vector retrieval. It enables indexing and searching local codebases with language-aware chunking and local embeddings.-
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to search and retrieve information from large technical documentation (OpenAPI specs, markdown) via intelligent chunking and semantic search.MIT
- FlicenseNot gradedqualityDmaintenanceEnables semantic search across Clarion programming documentation via natural language queries in Claude AI, supporting 21 manuals and 21,747 indexed chunks.-
- AlicenseNot gradedqualityCmaintenanceEnables semantic and keyword search of Ceph documentation with version-aware, component-scoped indices, supporting command lookup and code example retrieval.MIT