SDKs

三种形态平等交付:HTTP / Python SDK / MCP Server。

Python SDK

pip install researchpipe

from researchpipe import ResearchPipe

rp = ResearchPipe(api_key="rp-...")

# 搜数据 — topic 自动判断
r = rp.search("宁德时代最近融资")

# 显式 topic
r = rp.search("宇树科技股东", topic="primary_market")

# URL → 内容
r = rp.extract("https://...report.pdf")

# 深度研究
r = rp.research("具身智能赛道全景研究")

# 账户
me = rp.me()
usage = rp.usage()

异步用法:from researchpipe import AsyncResearchPipe

MCP Server (Claude Desktop / Cursor / Cline)

把 ResearchPipe 装进 Claude Desktop / Cursor — **零安装**, 粘贴 URL 配置即用。

# ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
# %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "researchpipe": {
      "type": "http",
      "url": "https://rp.zgen.xin/mcp",
      "headers": { "Authorization": "Bearer rp-..." }
    }
  }
}

重启 Claude Desktop,看到 hammer 图标 → researchpipe_* tools 全自动出现。不用装 Node、不用 git clone、不用 npm install — 配置就是 URL 和 API key。

3 个 MCP tools

  • researchpipe_search — 一个入口找所有数据,靠 topic 切场景
  • researchpipe_extract — URL → 干净文本 或 自定义 schema 抽字段
  • researchpipe_research — 多步深研 → 引用编号的 markdown 报告

OpenAPI / Postman