banxico-cep-mcp
查询 Banxico CEP(墨西哥央行电子支付凭证)的 MCP 服务端,用于验证墨西哥银行间转账支付记录。
安装
pip install banxico-cep-mcp
需要 Python >= 3.10。
使用方式
在 MCP 客户端中配置
{
"mcpServers": {
"banxico-cep": {
"command": "banxico-cep-mcp"
}
}
}
直接运行
banxico-cep-mcp
工具说明
cep_query — CEP 支付凭证查询
查询 Banxico 的单条 CEP 记录,验证支付是否已完成清算。
| 参数 | 是否必填 | 说明 |
|---|---|---|
fecha |
是 | 支付日期,格式 DD-MM-YYYY(如 15-12-2025) |
criterio |
是 | CEP 参考号/凭证编号(如 3843CP04202512154771098591) |
emisor |
是 | 付款方银行代码(如 40072) |
receptor |
是 | 收款方银行代码(如 40012) |
monto |
是 | 金额(墨西哥比索 MXN,如 140) |
cuenta |
否 | 账户号 |
返回结果
{
"status": "liquidado",
"raw_length": 12345,
"query": {
"fecha": "15-12-2025",
"criterio": "3843CP04202512154771098591",
"monto": "140",
"emisor": "40072",
"receptor": "40012"
}
}
返回状态说明:
liquidado— 支付已清算(验证通过)captcha_error— 触发验证码拦截(通常为查询频率过高)rate_limited— 查询次数超限,会话已自动重置unknown— 未识别的响应内容error— 请求失败,详见message字段
频率限制
内置限频器:约每 15 秒 4 次查询。使用 curl-cffi 伪装浏览器 TLS 指纹,降低被 Banxico WAF 拦截的概率。
开发调试
pip install -e .
banxico-cep-mcp
Metadata
Release files for banxico-cep-mcp 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| banxico_cep_mcp-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for banxico_cep_mcp-1.0.7-py3-none-any.whl |
Release files / banxico_cep_mcp-1.0.7-py3-none-any.whl
| Download URL | banxico_cep_mcp-1.0.7-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e624419e6d517cd8733de0be99902234278f22edc57aabbfa486f71bc3285f2
|
|
BLAKE2b-256 checksum How to use checksums |
3bbafa41802281709d467d8895edd6e0c0d9d896ade0cd5aa0629a00e0506eba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Security for banxico-cep-mcp 1.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.