Skip to main content
Glama
testusuke

GPT Research MCP Server

by testusuke

GPT Research MCP Server

OpenAI GPT-5.1 の Responses API と組み込み Web Search ツールを活用したリサーチ MCP サーバーです。

機能

  • research(query): GPT-5.1 の Web Search 機能を使用してクエリを調査し、引用情報付きの結果を返します

Related MCP server: MCP Deep Search

必要要件

  • Python 3.12+

  • uv パッケージマネージャー

  • OpenAI API キー

セットアップ

1. リポジトリのクローン

git clone https://github.com/your-username/gpt-research-mcp.git
cd gpt-research-mcp

2. 依存関係のインストール

uv sync

3. 環境変数の設定

export OPENAI_API_KEY="sk-..."

カスタムエンドポイントの使用(オプション)

OpenAI 互換 API(Azure OpenAI、ローカル LLM など)を使用する場合は、OPENAI_BASE_URL を設定します:

export OPENAI_BASE_URL="https://your-custom-endpoint.com/v1"

設定しない場合は、デフォルトの https://api.openai.com/v1/ が使用されます。

4. LangFuse トレーシング(オプション)

LangFuse を使用して OpenAI API 呼び出しの可観測性を有効にできます。以下の環境変数をすべて設定すると自動的に有効化されます:

export LANGFUSE_SECRET_KEY="sk-lf-..."
export LANGFUSE_PUBLIC_KEY="pk-lf-..."
export LANGFUSE_BASE_URL="https://cloud.langfuse.com"  # EU region
# export LANGFUSE_BASE_URL="https://us.cloud.langfuse.com"  # US region

環境変数が設定されていない場合は、通常の OpenAI SDK が使用されます。

MCP サーバーとしてのインストール

Claude Code への登録

claude mcp add gpt-research -- uv run --directory /path/to/gpt-research-mcp main.py

または ~/.claude/settings.json に直接追加:

{
  "mcpServers": {
    "gpt-research": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/gpt-research-mcp", "main.py"],
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "OPENAI_BASE_URL": "https://api.openai.com/v1/"
      }
    }
  }
}

OPENAI_BASE_URL はオプションです。カスタムエンドポイントを使用しない場合は省略可能です。

/path/to/gpt-research-mcp を実際のパスに置き換えてください。

使用方法

スタンドアロン実行

uv run python main.py

MCP ツールとして使用

MCP クライアント(Claude Desktop 等)から research ツールを呼び出します:

research("2024年の AI トレンドについて教えてください")

ツール仕様

research(query: str) -> str

パラメータ

説明

query

str

調査したい質問やトピック

戻り値: GPT-5.1 が生成したリサーチ結果(引用情報を含む)

技術スタック

コンポーネント

技術

パッケージ管理

uv

Python バージョン

3.12

MCP フレームワーク

FastMCP 2.0

OpenAI クライアント

openai (公式ライブラリ)

モデル

gpt-5.1

トレーシング(オプション)

LangFuse

Install Server
A
license - permissive license
C
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform real-time web searches, company research, content crawling, LinkedIn searches, and deep research using the Exa AI Search API. Provides comprehensive web information retrieval capabilities in a safe and controlled manner.
    2
    27,145
    1
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables deep web search across multiple providers including Google, Bing, Brave, DuckDuckGo, and Perplexity, with support for comprehensive AI-powered research using intelligent multi-engine queries.
    2
    391
    9
    MIT
  • F
    license
    A
    quality
    -
    maintenance
    Enables AI assistants to perform comprehensive research by searching Google, mining Reddit discussions, scraping web content with JS rendering, and synthesizing findings with citations into structured context.
    5
    165
    3
  • F
    license
    -
    quality
    D
    maintenance
    Provides intelligent web search capabilities using OpenAI's Web Search API with reasoning models. Supports localized results, multiple model options, and automatic source citations for current information retrieval.
    13

View all related MCP servers

Related MCP Connectors

  • The best web search for your AI Agent

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

  • AI-agent web search, answer-ready content. Beats Tavily: 60.7% of quality duels, 20.2% fewer tokens.

View all MCP Connectors

Latest Blog Posts

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/testusuke/gpt-research-mcp'

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