GPT Researcher MCP Server

MIT License
65
  • Apple

Integrations

  • Repository hosting for the MCP server code, accessed through cloning for installation.

  • Supported as a web retriever option for the quick_search tool, allowing search queries through Google's search engine.

  • Integrates with OpenAI's API for powering the research functionality, requiring an API key for operation.

🔍 GPT 研究员 MCP 服务器

为什么选择 GPT Research MCP?

虽然 LLM 应用可以通过 MCP 访问网络搜索工具,但**GPT Researcher MCP 能够提供深入的研究结果。**标准搜索工具返回的原始结果需要手动过滤,而且通常包含不相关的来源,浪费上下文窗口空间。

GPT Researcher 会自主探索并验证众多来源,仅关注相关、可信且最新的信息。虽然速度比标准搜索略慢(约 30 秒等待时间),但它能够提供:

  • ✨ 更高质量的信息
  • 📊 优化上下文使用
  • 🔎 综合结果
  • 🧠 更好地推理法学硕士

💻 Claude 桌面演示

https://github.com/user-attachments/assets/ef97eea5-a409-42b9-8f6d-b82ab16c52a8

资源

  • research_resource :通过研究获取与给定任务相关的网络资源。

主要工具

  • deep_research :对某个主题进行深度网络研究,找到最可靠和最相关的信息
  • quick_search :执行快速网页搜索,优化速度而非质量,返回包含摘要的搜索结果。支持任何支持 GPTR 的网页检索工具,例如 Tavily、Bing、Google 等……点击此处了解更多信息
  • write_report :根据研究结果生成报告
  • get_research_sources :获取研究中使用的来源
  • get_research_context :获取研究的完整背景

提示

  • research_query :创建研究查询提示

先决条件

在运行 MCP 服务器之前,请确保您已:

  1. 已安装 Python 3.10 或更高版本
  2. 您计划使用的服务的 API 密钥:

⚙️ 安装

  1. 克隆 GPT Researcher 存储库:
git clone https://github.com/assafelovic/gpt-researcher.git cd gpt-researcher
  1. 安装 gptr-mcp 依赖项:
cd gptr-mcp pip install -r requirements.txt
  1. 设置环境变量:
    • 复制.env.example文件以创建一个名为.env的新文件:GXP3
    • 编辑.env文件并添加您的 API 密钥并配置其他设置:GXP4

您还可以为 GPT Researcher 配置添加任何其他环境变量。

🚀 运行 MCP 服务器

您可以通过两种方式启动 MCP 服务器:

方法一:直接使用Python

python server.py

方法 2:使用 MCP CLI(如果已安装)

mcp run server.py

一旦服务器运行,您将看到表明服务器已准备好接受连接的输出。

与克劳德整合

您可以使用以下方式将您的 MCP 服务器与 Claude 集成:

Claude 桌面集成- 与 Mac 上的 Claude 桌面应用程序一起使用

欲了解详细说明,请点击上面的链接。

💻 Claude 桌面集成

要将本地运行的 MCP 服务器与 Claude for Mac 集成,您需要:

  1. 确保 MCP 服务器已安装并正在运行
  2. 配置Claude桌面:
    • ~/Library/Application Support/Claude/claude_desktop_config.json找到或创建配置文件
    • 将本地 GPT Researcher MCP 服务器添加到配置中
    • 重启 Claude 以应用配置

有关完整的分步说明,请参阅Claude Desktop Integration 指南

📝 Claude 的使用示例

User: I'm considering investing in NVIDIA. Can you research the current state of the company, recent stock performance, latest product announcements, and analyst opinions? Claude: I'll help you research NVIDIA for investment purposes. This will take a moment as I conduct comprehensive research to find the most up-to-date information about their stock performance, recent developments, and expert analysis. [Claude uses conduct_research tool - this takes 30-40 seconds] Claude: Based on my research, here's a comprehensive analysis of NVIDIA's current state: ## NVIDIA (NVDA) Current Status ### Recent Stock Performance - Current price: $942.89 (as of my research) - YTD performance: +90.4% - 52-week range: $460.30 - $974.00 - Market cap: ~$2.32 trillion ### Recent Key Developments 1. **Blackwell AI Platform**: At GTC 2024, NVIDIA unveiled the Blackwell architecture, their next-generation AI chip platform promising 4x performance improvement over Hopper. Major cloud providers (AWS, Google, Microsoft) have already committed to integrating Blackwell. 2. **Q1 FY2025 Earnings (May 2024)**: - Revenue: $26.0 billion (+262% YoY) - Data Center revenue: $22.6 billion (+427% YoY) - Gross margin: 78.4% - Announced 10-for-1 stock split effective June 7, 2024 3. **Supply Chain Expansion**: Increased investments in manufacturing capacity with TSMC to address ongoing chip shortages for their high-demand AI GPUs. ### Analyst Consensus - Strong Buy consensus with 37 analysts rating it "Buy," 5 "Hold," and 0 "Sell" - Average price target: $1,042 (post-split adjusted: $104.20) - Key bull thesis: Continued AI infrastructure spending and NVIDIA's dominant position in AI chips - Key bear concerns: Valuation, potential competition from AMD, Intel, and custom silicon from tech giants ### Industry Position - Dominant in AI GPU market with estimated 80-90% market share - Expanding ecosystem through CUDA software platform and industry partnerships - Diversifying beyond chips with DGX Cloud, AI software platforms, and automotive solutions

🔧 故障排除

如果您在运行 MCP 服务器时遇到问题:

  1. 确保你的 API 密钥在.env文件中正确设置
  2. 检查您是否正在使用 Python 3.10 或更高版本
  3. 确保所有依赖项都正确安装
  4. 检查服务器日志中的错误消息

👣 后续步骤

📄 许可证

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

📞 支持/联系方式

ID: wnf68mft3t