Skip to main content
Glama

Deep Research MCP Server

by Ozamatash

Open Deep Research MCP Server

An AI-powered research assistant that performs deep, iterative research on any topic. It combines search engines, web scraping, and AI to explore topics in depth and generate comprehensive reports. Available as a Model Context Protocol (MCP) tool or standalone CLI. Look at exampleout.md to see what a report might look like.

Quick Start

  1. Clone and install:
git clone https://github.com/Ozamatash/deep-research cd deep-research npm install
  1. Set up environment in .env.local:
# Copy the example environment file cp .env.example .env.local
  1. Build:
# Build the server npm run build
  1. Run the cli version:
npm run start
  1. Test MCP Server with Claude Desktop:
    Follow the guide thats at the bottom of server quickstart to add the server to Claude Desktop:
    https://modelcontextprotocol.io/quickstart/server

For remote servers: Streamable HTTP

npm run start:http

Server runs on http://localhost:3000/mcp without session management.

Features

  • Performs deep, iterative research by generating targeted search queries
  • Controls research scope with depth (how deep) and breadth (how wide) parameters
  • Evaluates source reliability with detailed scoring (0-1) and reasoning
  • Prioritizes high-reliability sources (≥0.7) and verifies less reliable information
  • Generates follow-up questions to better understand research needs
  • Produces detailed markdown reports with findings, sources, and reliability assessments
  • Available as a Model Context Protocol (MCP) tool for AI agents
  • For now MCP version doesn't ask follow up questions
  • Natural-language source preferences (avoid listicles, forums, affiliate reviews, specific domains)

Model Selection (OpenAI, Anthropic, Google, xAI)

Pick a provider and model per run.

  • CLI: you will be prompted for provider and model. Example: openai + gpt-5.
  • MCP/HTTP: pass model, e.g. openai:gpt-5,

Set the corresponding API key in .env.local:

OPENAI_API_KEY=... ANTHROPIC_API_KEY=... GOOGLE_API_KEY=... XAI_API_KEY=...

How It Works

Advanced Setup

Using Local Firecrawl (Free Option)

Instead of using the Firecrawl API, you can run a local instance. You can use the official repo or my fork which uses searXNG as the search backend to avoid using a searchapi key:

  1. Set up local Firecrawl:
git clone https://github.com/Ozamatash/localfirecrawl cd localfirecrawl # Follow setup in localfirecrawl README
  1. Update .env.local:
FIRECRAWL_BASE_URL="http://localhost:3002"

Optional: Observability

Add observability to track research flows, queries, and results using Langfuse:

# Add to .env.local LANGFUSE_PUBLIC_KEY="your_langfuse_public_key" LANGFUSE_SECRET_KEY="your_langfuse_secret_key"

The app works normally without observability if no Langfuse keys are provided.

License

MIT License

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AI エージェントを検索エンジン、Web スクレイピング、大規模言語モデルと統合し、効率的なデータ収集と包括的なレポート作成を行うことで、反復的な詳細な調査を可能にします。

  1. クイックスタート
    1. 特徴
      1. 仕組み
        1. 詳細設定
          1. Local Firecrawl の使用(無料オプション)
          2. オプション: 可観測性
        2. ライセンス

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A powerful research assistant that conducts intelligent, iterative research through web searches, analysis, and comprehensive report generation on any topic.
            Last updated -
            4
            20
          • -
            security
            A
            license
            -
            quality
            Provides specialized AI-powered comprehensive research and analysis capabilities by integrating with advanced deep research agents, offering unlimited queries with no rate limits and faster performance than comparable services.
            Last updated -
            168
            49
            MIT License
            • Apple
          • A
            security
            F
            license
            A
            quality
            A sophisticated research assistant that orchestrates a 5-step workflow of connected AI agents to provide deep research capabilities including question enhancement, web search, summarization, citation formatting, and result combination.
            Last updated -
            11
            • Apple
            • Linux
          • A
            security
            F
            license
            A
            quality
            An automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research, generating sophisticated queries and producing citation-rich answers.
            Last updated -
            1
            22
            • Apple
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ozamatash/deep-research-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server