Token导航 LogoToken导航TokenDH.com
Databursatil MCP logo
数据服务stdio官方级别未说明来源级核验

Databursatil MCP

MCP Server

DataBursatil MCP Server是一个提供墨西哥股票市场(BMV、BIVA)数据的API服务器,支持多种金融数据查询和分析功能。

工具数

15

提示词数

0

GitHub Stars

2

资源数

0
PythonClaude数据分析Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

angel7i

提供方

angel7i

最后核验

2026/5/17 20:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install -e .

详细介绍

数据库MCP服务器

MCP服务器访问 数据交易所 API,提供墨西哥股票市场(BMV,BIVA)的数据。

需求

  • Python 3.10或更高版本
  • 紫外线 (推荐)或pip
  • DataBursatil API令牌(在 数据库)

安装

紫外线(推荐)

# Clone or download the project
cd databursatil-mcp

# Install dependencies
uv sync

使用pip

cd databursatil-mcp
pip install -e .

配置

服务器需要DataBursatil身份验证令牌。配置 DATABURSATIL_TOKEN 环境变量:

# Linux/macOS
export DATABURSATIL_TOKEN="your_30_character_token"

# Windows (PowerShell)
$env:DATABURSATIL_TOKEN = "your_30_character_token"

# Windows (CMD)
set DATABURSATIL_TOKEN=your_30_character_token

Claude中的配置

将以下配置添加到您的 claude_desktop_config.json 文件:

Claude代码中的配置

{
  "mcpServers": {
    "databursatil": {
      "command": "uv",
      "args": ["--directory", "/path/to/databursatil-mcp", "run", "databursatil-mcp"],
      "env": {
        "DATABURSATIL_TOKEN": "your_token_here"
      }
    }
  }
}

可用工具

1. get_emisoras

获取有关发行人及其系列的一般信息。

参数类型必填说明
letrastring按首字母或单词筛选
mercadostring“本地”、“全局”或两者都有

使用示例:

"Show me issuers starting with A"
"List all issuers in the global market"

2. get_intradia

在交易时间获取日内报价。

参数类型必填说明
emisora_seriestring最多10个发行者。例如:“AMXL\*,FEMSAUBD”
bolsastring“BMV”或“BIVA”
intervalostring“1米”、“5米”或“1小时”
iniciostring日期YYYY-MM-DD
finalstring日期YYYY-MM-DD

使用示例:

"Show me intraday prices for AMXL* in 5-minute intervals for today"

3. get_cotizaciones

获取发行人的当前价格。

参数类型必填说明
emisora_seriestring最多50个发行人
conceptostringYesu,p,a,x,n,c,m,v,o,i(见下表)
bolsastring“BMV”、“BIVA”或两者都有

可用概念:

代码描述
u最新价格
p加权平均价格
a以前的价格
x最高价格
n最低价格
c百分比变化
m比索变化
v体积
o运营
i累计金额

使用示例:

"What is the current price of AMXL* and FEMSAUBD?"
"Show me the volume and percentage change for GFNORTEO"

4. get_top

按不同标准获取发行人的排名。

参数类型必填说明
variables字符串“上升”,“下降”,“金额”,“数量”,“交易”
bolsastring“BMV”或“BIVA”(只有一个)
cantidadint1-50
mercadostring“本地”或“全局”
iniciostring日期YYYY-MM-DD
finalstring日期YYYY-MM-DD

使用示例:

"What are the top 10 stocks gaining today on the BMV?"
"Top 5 issuers with highest volume this week"

5. get_historicos

获取历史收盘价。

参数类型必填说明
emisora_seriestring单一发行人
iniciostring日期YYYY-MM-DD
finalstring日期YYYY-MM-DD

使用示例:

"Show me the price history for AMXL* for the last month"
"BIMBOA closing prices for 2024"

6. get_financieros

获取发行人的财务报表。

参数类型必填说明
emisorastringYesTicker WITHOUT系列。例如:“AMXL”
periodostring格式“1T_2025”(季度_年)
financieros字符串“位置”,“流量”,“结果季度”,“累计结果”

使用示例:

"Show me FEMSA's balance sheet for Q1 2025"
"AMXL quarterly results for Q4 2024"

7. get_indices

获取股票市场指数价格。

参数类型必填说明
tickerstring按索引筛选。例如:“IPC”、“DJI”

使用示例:

"How is the IPC today?"
"Show me all stock market indices"

8. get_tasas

获取墨西哥货币市场利率。

参数类型必填说明
tickerstring按速率筛选。例如:“TIIE28”

使用示例:

"What is the 28-day TIIE rate?"
"Show all reference rates"

9. get_divisas

获取货币汇率。

参数类型必填说明
tickerstring货币对。例如:“USDMXN”

使用示例:

"What's the dollar exchange rate?"
"Euro to peso exchange rate"

10. get_commodities

获取商品价格。

参数类型必填说明
tickerstring商品。例如:“WTI”、“GOLD”

使用示例:

"WTI oil price"
"How is gold doing today?"

11. get_noticias

获取商业和经济新闻。

没有必需的参数。

使用示例:

"What are the latest financial news?"

12. get_cables

从墨西哥发行人那里获取新闻电报。

参数类型必填说明
categorias字符串“公告”,“顶部”,“评估”,“闪光”,“将军”

使用示例:

"Show me today's issuer bulletins"
"Market flash news"

13. get_descargas

下载日终事实或估值。

参数类型必填说明
archivostring“hechos”或“guber”
fechastring日期YYYY-MM-DD(工作日)

使用示例:

"Download last Friday's facts"
"Government valuations for January 15"

14. get_hechos

获取经过筛选的单个操作。

参数类型必填说明
emisora_seriestring最多10个发行人
fechastring日期YYYY-MM-DD
horaistring开始时间HH:MM
horafstring结束时间HH:MM

使用示例:

"Show me AMXL* operations for today between 9:00 and 11:00"

15. get_creditos

显示令牌的可用积分。

没有必需的参数。

使用示例:

"How many credits do I have left?"

发展

在本地测试服务器

# With MCP inspector
uv run mcp dev src/databursatil_mcp/server.py

# Run directly
uv run databursatil-mcp

常见错误

错误原因解决方案
“令牌未配置”环境变量未设置配置 DATABURSATIL_TOKEN
“无效或过期的令牌”不正确的令牌在databursatil.com上验证您的令牌
“积分用尽”没有可用积分等到本月1日
“无效参数”格式不正确检查日期和参数格式

许可证

麻省理工学院

链接

目录标签

目录标签

PythonClaude数据分析股票市场数据本地部署金融数据分析API服务墨西哥股市数据查询

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

15

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP