← Back to directory
L

Local Deep Research (LDR) MCP Server

Official
Local-first deep research assistant exposing multi-engine search and cited reports to Claude over MCP.
GitHub source repository ↗
★ 8.8k Stars Category · Other Very popular
70FMRS · B
Reliability
9/20
Security and permissions
14/20
Maintenance
18/20
Documentation
17/20
Setup experience
12/20

LDR's MCP server is the project's own official integration, exposing its multi-engine search, private-document analysis, and cited report generation through 8 tools over local STDIO transport. It's compelling for privacy-focused users who already run local or cloud LLMs and search infrastructure, but the docs are explicit that the server lacks authentication and rate limiting and is meant for local, single-machine use rather than network deployment.

Read the FMRS scoring method →

Local Deep Research (LDR) is an open-source AI research assistant that runs local LLMs (Ollama, LM Studio, llama.cpp) or cloud models (OpenAI, Anthropic, Google, and more), searches across 10+ engines (arXiv, PubMed, Semantic Scholar, SearXNG, GitHub, etc.) plus a user's own private documents, and synthesizes findings into cited summaries or full reports. User data lives in a per-user, AES-256-encrypted SQLCipher database, with passwords never stored. The same repository ships an MCP server so Claude Desktop and Claude Code can drive these research capabilities directly; the docs state it is designed strictly for local use via STDIO transport, with no built-in authentication or rate limiting.

Tools

search
Queries a specific search engine directly (e.g. arxiv, pubmed, wikipedia) and returns raw title/link/snippet results with no LLM processing — fast and free, useful for monitoring and subscriptions.
quick_research
Produces a fast, cited research summary for a question. Takes about 1-5 minutes and incurs LLM cost.
detailed_research
Runs a comprehensive multi-source analysis with structured findings. Takes about 5-15 minutes and incurs LLM cost.
generate_report
Generates a full Markdown research report with sections and a table of contents. Takes about 10-30 minutes and incurs LLM cost.
analyze_documents
Searches the user's imported private document collections. Takes about 30 seconds to 2 minutes and incurs LLM cost.
list_search_engines
Lists the search engines currently available. Returns instantly with no LLM cost.
list_strategies
Lists the available research strategies (e.g. langgraph-agent). Returns instantly with no LLM cost.
get_configuration
Returns the current LDR configuration. Returns instantly with no LLM cost.

Setup

1) Install the package with MCP extras: pip install "local-deep-research[mcp]"; 2) set up an LLM source (local Ollama/LM Studio/llama.cpp, or a cloud provider API key for OpenAI/Anthropic/Google/etc.); 3) add an mcpServers entry to claude_desktop_config.json (Claude Desktop) or .mcp.json / ~/.claude/mcp.json (Claude Code) with command set to ldr-mcp and any needed LDR_* variables passed via env (e.g. LDR_LLM_PROVIDER, LDR_LLM_OLLAMA_URL, LDR_LLM_OPENAI_API_KEY); 4) restart the Claude client to pick up the config; for web search, also run SearXNG or another configured search engine.

claude_desktop_config.json
{
  "mcpServers": {
    "local-deep-research": {
      "command": "ldr-mcp",
      "env": {
        "LDR_LLM_PROVIDER": "openai",
        "LDR_LLM_OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Fit and risk

Best for

  • Privacy-conscious researchers and developers who want to run LLMs and search fully locally
  • Users already running local models via Ollama, LM Studio, or llama.cpp
  • People who want to give Claude multi-engine academic search and structured report generation
  • Local, STDIO-based integration into Claude Desktop or Claude Code

Not for

  • Multi-user or network-exposed deployments — this MCP server has no built-in authentication or rate limiting and is documented as local-use only
  • Users wanting a zero-config tool — it requires configuring an LLM provider and a search engine, and sometimes deploying SearXNG
  • Teams needing real-time multi-user collaboration features

Required permissions

  • Access to a configured LLM (local endpoint or cloud API key)
  • Outbound network access to call configured search engines (arXiv, PubMed, SearXNG, Brave, etc.), unless restricted to local documents only
  • Local filesystem read access for analyze_documents to work with private documents
  • Read/write access to the local encrypted (SQLCipher) database

Risks and side effects

  • The docs explicitly warn this MCP server is designed for local use only via STDIO transport, has no built-in authentication or rate limiting, and should not be exposed over a network without additional security controls
  • Credentials (e.g. API keys) are held in process memory during active sessions, a routine runtime risk the project mitigates with session-scoped credential lifetimes and core dump exclusion
  • Research queries are sent to whichever search engines are configured, and cloud LLM providers (OpenAI, Anthropic, Google, etc.) receive query/document content when selected
  • Docker's --network host mode can silently fail to expose ports or misroute localhost on Windows/WSL2/Mac

Troubleshooting

  1. Confirm pip install "local-deep-research[mcp]" was run so the ldr-mcp command exists
  2. Check that the mcpServers env block sets LDR_LLM_PROVIDER and the matching URL/API key (e.g. LDR_LLM_OLLAMA_URL, LDR_LLM_OPENAI_API_KEY)
  3. Verify the local LLM service (Ollama, LM Studio, or llama-server) is running and reachable on its default port
  4. For web search, confirm SearXNG or another search engine is running and reachable; use list_search_engines to check
  5. Consult docs/mcp-server.md and docs/CONFIGURATION.md in the repo for the full list of LDR_* environment variables
  6. If using Docker on Windows/WSL2 and port 5000 isn't reachable, see the docs/faq.md entry and switch to the Docker Compose setup

Use cases

Research academic papers (arXiv, PubMed, Semantic Scholar) directly from Claude
Generate cited quick-answer summaries or full research reports
Semantically search and analyze a private document collection
Use the search tool for low-cost, LLM-free monitoring/subscription-style checks

Supported clients

Claude DesktopFull support
Claude CodeFull support