Researcher MCP Server

Researcher MCP Server

Enables LLMs to research answers using DuckDuckGo web and news search plus Wikipedia, providing up-to-date information and current events.

Category
Visit Server

README

Researcher MCP Server

A Model Context Protocol (MCP) server that researches answers to user questions using full DuckDuckGo web search, DuckDuckGo news search, and Wikipedia. Connect it to any MCP-capable client (LM Studio, Claude Desktop, VS Code, etc.) to give a local LLM web-research abilities with current-events coverage.

Tools Provided

Tool Description
research(query) Full research report — classifies the query and mixes sources: news queries get dated recent articles, factual questions get a Wikipedia summary plus corroborating web sources and related news, everything else gets full web results
search(query, max_results?) Raw web search results (title, URL, snippet)
news(query, timelimit?, max_results?) Recent news articles with publication date and source name; timelimit is d/w/m (day/week/month)
extract(url) Fetches a URL and returns its readable text (HTML parsed with BeautifulSoup)
get_current_time(location_hint?) Current date and time

Transports

The server picks its transport from the MCP_TRANSPORT environment variable:

  • stdio (default) — for MCP clients that launch the server directly
  • streamable-http — network mode; listens on MCP_HOST:MCP_PORT (default 0.0.0.0:8000) at the /mcp path. This is what docker-compose.yml uses.

Quick Start (Docker, recommended)

cd "d:/Local Development/Researcher MCP Server"
docker compose up -d --build

The server is then available to MCP clients at http://localhost:8000/mcp.

Check status and logs:

docker compose ps
docker compose logs -f researcher

Quick Start (Python, stdio)

pip install -r requirements.txt

Then configure your MCP client to launch it — for example in an mcp.json-style config:

{
  "mcpServers": {
    "researcher": {
      "command": "python",
      "args": ["d:/Local Development/Researcher MCP Server/researcher_server.py"]
    }
  }
}

Don't run python researcher_server.py standalone and expect an HTTP port — in stdio mode the client launches and owns the process. For HTTP mode outside Docker, set the env vars first:

$env:MCP_TRANSPORT = "streamable-http"; python researcher_server.py

Connecting LM Studio

See LM_STUDIO_SETUP.md (both methods) and LM_STUDIO_DOCKER_SETUP.md (Docker walkthrough). The short version — in LM Studio 0.3.17+, edit mcp.json via Chat → Program sidebar → Install → Edit mcp.json:

{
  "mcpServers": {
    "researcher": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

How It Works

User question
      ↓
MCP client (LM Studio, Claude, ...) calls the `research` tool
      ↓
Query classification (news / factual / general)
      ↓
Sources queried in parallel:
  - DuckDuckGo web search (full index, via ddgs)
  - DuckDuckGo news search (dated articles with sources)
  - Wikipedia API (encyclopedic summaries)
      ↓
Formatted research report with dates and source URLs → back to the client

Dependencies

  • mcp — official MCP Python SDK (FastMCP server)
  • httpx — async HTTP client for Wikipedia and page extraction
  • ddgs — DuckDuckGo web and news search
  • beautifulsoup4 — HTML parsing for page extraction

Troubleshooting

Container exits immediately

Make sure MCP_TRANSPORT=streamable-http is set (docker-compose.yml does this). Without it the server runs in stdio mode and exits as soon as stdin closes — which is immediately, in a detached container.

Client can't connect over HTTP

  • Confirm the container is up: docker compose ps
  • The endpoint is http://localhost:8000/mcp — the /mcp path is required
  • curl http://localhost:8000/mcp returning a JSON-RPC error object means the server is up (a bare GET is expected to be rejected)

Empty or thin search results

  • Check internet connectivity from where the server runs
  • DuckDuckGo occasionally rate-limits heavy usage; wait a moment and retry

License

MIT License - See LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured