Skip to main content

发现报告 MCP

这是发现报告(fxbaogao.com)的 MCP 接入项目,提供研究报告搜索、命中段落获取、PDF 下载地址获取和本地 PDF 下载能力。

本仓库是本地版 MCP Server,适合在本机通过 stdio 方式运行。发现报告也提供在线 HTTP 版 MCP,均可直接添加到 Claude 等 MCP 的客户端。

发现报告 API key。开通请咨询发现报告客服(工作日9:00-18:00)

在线 HTTP 版

如果只需要使用在线版,不需要安装本仓库。直接添加远程 MCP:

claude mcp add --transport http fxbaogao --scope user https://api.fxbaogao.com/mcp/ \
  --header "Authorization: Bearer sk-xxx"

sk-xxx 替换为你的发现报告 API Key。

如果客户端支持 JSON 配置远程 MCP,可使用:

{
  "mcpServers": {
    "fxbaogao": {
      "type": "http",
      "url": "https://api.fxbaogao.com/mcp/",
      "headers": {
        "Authorization": "Bearer sk-xxx"
      }
    }
  }
}

本地版

使用 uvx 启动:

{
  "mcpServers": {
    "fxbaogao-mcp": {
      "command": "uvx",
      "args": ["fxbaogao-mcp@latest"],
      "env": {
        "FXBAOGAO_API_KEY": "<your_api_key>"
      }
    }
  }
}

本地开发时也可以从源码运行:

export FXBAOGAO_API_KEY=<your_api_key>
.venv/bin/python -m fxbaogao_mcp

工具

search_reports

按关键词、机构、时间范围搜索发现报告研报。

参数 类型 说明
keywords string 搜索关键词
orgNames string[] 机构列表
startTime string last7daylast1monlast3monlast1year,或毫秒时间戳字符串
endTime string 结束时间戳,毫秒
pageNum integer 页码,默认 1,取值范围 1-10

返回结果中会补充官网阅读链接:

https://www.fxbaogao.com/view?id=<reportId>

get_paragraphs

使用 search_reports 返回的 reportId 获取指定报告的摘要、目录和正文命中段落,reportId 必传。

参数 类型 说明
reportId integer 报告 ID
keyword string 用于命中上下文的关键词

get_pdf_url

使用 search_reports 返回的 reportId 获取报告 PDF 地址,reportId 必传。

参数 类型 说明
reportId integer 报告 ID

download_pdf

根据报告 ID 下载 PDF 到本地工作区。

主要参数:

参数 类型 说明
reportId integer 报告 ID
output_dir string 相对 FXBAOGAO_WORKSPACE 的输出目录,默认 downloads
filename string 保存文件名,默认 <reportId>.pdf
overwrite boolean 文件存在时是否覆盖

注意事项

本工具仅供学习和研究使用,请遵守发现报告的使用条款和相关法律法规。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fxbaogao_mcp-1.0.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fxbaogao_mcp-1.0.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file fxbaogao_mcp-1.0.3.tar.gz.

File metadata

  • Download URL: fxbaogao_mcp-1.0.3.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for fxbaogao_mcp-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d7215097b79e50ac9fd6c849be65d626961ddca8fdbc96fd2f94e8b933f923e9
MD5 cc4986d377a3affb6011532003167354
BLAKE2b-256 c9d64f74bfd658b356df5db28217bfa5846a7a30acfbe3841f5be2ecacd67d15

See more details on using hashes here.

File details

Details for the file fxbaogao_mcp-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: fxbaogao_mcp-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for fxbaogao_mcp-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 38867e909666da071a8375c9d6ef80b7446e705854f44697c2cdf7374b56c55e
MD5 9d21e22446cafc8f1648884124ab7e49
BLAKE2b-256 d36941d781be1a5af2f541694e57a203af99b8217cc7445165675c527b344cc2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.5

1 file

0.1.4

2 files

0.1.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page