AskDocs MCP Server
Provides RAG-powered semantic search over technical documentation PDFs using Ollama for embeddings and LLM inference, with natural language queries and page citations.
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.
AskDocs MCP Server
A Model Context Protocol (MCP) server that provides RAG-powered semantic search over technical documentation PDFs using Ollama.
Features
Semantic search with natural language queries
Multiple PDF documents with page citations
Docker support with persistent caching
TOML-based configuration
Related MCP server: RAG Database MCP Server
Quick Start
1. Create askdocs-mcp.toml in your project's docs directory:
[[doc]]
name = "my_manual"
description = "My Product Manual"
path = "pdf/manual.pdf"2. Run with Docker:
docker run -it --rm --network=host -v ./docs:/docs askdocs-mcp:latestaskdocs-mcp expects an Ollama server to be running on http://localhost:11434.
3. Directory structure:
docs/
├── askdocs-mcp.toml # Configuration
├── .askdocs-cache/ # Vector store (auto-created)
└── pdf/
└── manual.pdfAdd **/.askdocs-cache/** to your .gitignore file.
Configuration
# Optional: Configure models
embedding_model = "snowflake-arctic-embed:latest"
llm_model = "qwen3:14b"
[[doc]]
name = "unique_identifier"
description = "Human description"
path = "pdf/document.pdf"Using the MCP Server:
Cursor (~/.cursor/mcp.json or <project-root>/.cursor/mcp.json)
{
"mcpServers": {
"askdocs-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--network=host",
"--volume=${workspaceFolder}/docs:/docs",
"ghcr.io/dymk/askdocs-mcp:latest"
]
}
}
}Codex (~/.codex/config.toml)
[mcp_servers.askdocs-mcp]
command = "docker"
args = [
"run", "-i", "--rm",
"--network=host",
"--volume=/your/workspace/folder/docs:/docs",
"ghcr.io/dymk/askdocs-mcp:latest"
]Environment variable:
ASKDOCS_OLLAMA_URL: Ollama server URL (default:http://localhost:11434)
Available Tools
list_docs()
List all documentation sources.
ask_docs(source_name: str, query: str)
Search documentation with natural language.
get_doc_page(source_name: str, page_start: int, page_end: int = None)
Retrieve full text from specific pages.
Requirements
Ollama must be running with the required models:
ollama pull snowflake-arctic-embed:latest
ollama pull qwen3:14bBuilding
# Docker
docker build -t askdocs-mcp:latest .
# Local
uv sync
uv run askdocs-mcp --docs-dir /path/to/docsLicense
MIT
Tool 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
Ingest, manage, and retrieve documents for RAG-powered AI applications
Medical RAG: semantic search for clinical guidelines, drug interactions, diagnoses & EHR data.
Medical RAG: semantic search for clinical guidelines, drug interactions, diagnoses & EHR data.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides RAG capabilities for semantic document search using Qdrant vector database and Ollama/OpenAI embeddings, allowing users to add, search, list, and delete documentation with metadata support.16 npm16-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to search and query PDF documents through a local RAG system with vector embeddings. Provides semantic document search capabilities while keeping all data stored locally without external dependencies.-
- AlicenseNot gradedqualityDmaintenanceEnables intelligent search and question-answering over PDF documents using semantic similarity and keyword search. Supports OCR for scanned PDFs, persistent vector storage with ChromaDB, and maintains source tracking with page numbers.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables semantic search across documents and code repositories using RAG (Retrieval-Augmented Generation) with vector embeddings. Automatically indexes PDF documents and performs relevance-scored lookups through ChromaDB and sentence transformers.-