MCP server for Local Deep Research
|
All checks were successful
Build and Push Docker Image / build (push) Successful in 1h26m39s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .pre-commit-config.yaml | ||
| config.json | ||
| Dockerfile | ||
| mcp_server_ldr.py | ||
| README.md | ||
| requirements.txt | ||
MCP Server - Local Deep Research
An MCP (Model Context Protocol) server implementation that provides deep research capabilities using Local Deep Research (LDR).
Overview
This MCP server wraps the LDR API to provide research functionality to any MCP-compatible client (Claude Desktop, Cursor, etc.).
Features
- Deep research queries with multiple iterations
- Status tracking for long-running research
- Report retrieval with sources
- Configurable model and search engine options
Prerequisites
- Local Deep Research (LDR) server running
- Python 3.10+
- MCP SDK
Installation
pip install mcp local-deep-research requests beautifulsoup4
Configuration
Set environment variables or create config.json:
{
"host": "http://ldr.your-tailnet.ts.net:5000",
"username": "your_user",
"password": "your_pass"
}
Usage
Running the Server
python mcp_server_ldr.py
Available Tools
ldr_query- Start a quick research queryldr_research- Start a full research with optionsldr_status- Check research statusldr_report- Get research report
Example
# Start research
result = ldr_query(
query="What is quantum computing?",
iterations=3,
questions=5
)
# Check status
status = ldr_status(research_id=result["research_id"])
# Get report
report = ldr_report(research_id=result["research_id"])
License
MIT