gptr-mcp 高质量信息助手
通过深度自主的网络研究能力增强大语言模型应用,通过探索和验证众多可信来源,提供比标准搜索工具更高 quality 的信息。
服务介绍
🔍 GPT 研究者 MCP 服务器
为什么选择 GPT 研究者 MCP?
虽然 LLM 应用程序可以通过 MCP 访问网络搜索工具,GPT 研究者 MCP 提供了深入的研究结果。 标准搜索工具返回的是原始结果,需要手动筛选,通常包含不相关的来源,并浪费上下文窗口空间。
GPT 研究者自主探索并验证众多来源,只关注相关、可信和最新的信息。尽管比标准搜索稍慢(大约等待 30 秒),但它提供了:
- ✨ 更高质量的信息
- 📊 优化的上下文使用
- 🔎 全面的结果
- 🧠 对 LLM 更好的推理
💻 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 服务器之前,请确保您已具备以下条件:
- 安装 Python 3.10 或更高版本
- 您计划使用的服务的 API 密钥:
⚙️ 安装
- 克隆 GPT 研究者仓库:
git clone https://github.com/assafelovic/gpt-researcher.git
cd gpt-researcher
- 安装 gptr-mcp 依赖项:
cd gptr-mcp
pip install -r requirements.txt
- 设置环境变量:
- 复制
.env.example文件创建一个新的文件名为.env:
cp .env.example .env- 编辑
.env文件并添加您的 API 密钥和其他设置:
OPENAI_API_KEY=your_openai_api_key TAVILY_API_KEY=your_tavily_api_key - 复制
您还可以为 GPT 研究者的配置添加其他环境变量。
🚀 运行 MCP 服务器
您可以以两种方式启动 MCP 服务器:
方法 1:直接使用 Python
python server.py
方法 2:使用 MCP CLI(如果已安装)
mcp run server.py
一旦服务器运行起来,你会看到输出信息表明服务器已经准备好接受连接。
与 Claude 集成
你可以通过以下方式将你的 MCP 服务器与 Claude 集成:
Claude 桌面集成 - 用于在 Mac 上与 Claude 桌面应用程序一起使用
有关详细说明,请参阅上面的链接。
💻 Claude 桌面集成
要将本地运行的 MCP 服务器与 Mac 上的 Claude 集成,你需要:
- 确保 MCP 服务器已安装并正在运行
- 配置 Claude 桌面:
- 定位或创建配置文件
~/Library/Application Support/Claude/claude_desktop_config.json - 将你的本地 GPT Researcher MCP 服务器添加到配置中
- 重启 Claude 以应用配置
- 定位或创建配置文件
完整的分步说明,请参见 Claude 桌面集成指南。
📝 使用 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 服务器时遇到问题:
- 确保
.env文件中的 API 密钥设置正确 - 检查你是否使用的是 Python 3.10 或更高版本
- 确保所有依赖项都已正确安装
- 查看服务器日志中的错误消息
👣 下一步
- 探索 MCP 协议文档,更好地了解如何与 Claude 集成
- 了解 GPT Researcher 的核心功能,以增强你的研究能力
- 查看 高级用法 指南,了解更多配置选项
📄 许可证
本项目根据 MIT 许可证发布 - 详情请参见 LICENSE 文件。