Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者提供的说明(英文原文)
Publications and financial indicators from Mexico's Diario Oficial de la Federación (DOF)
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"dof": {
"command": "npx",
"args": [
"-y",
"dof-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add dof -- npx -y dof-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"dof": {
"command": "npx",
"args": [
"-y",
"dof-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"dof": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dof-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
注册名称已通过 GitHub 账户 amatiasdev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.2)于23天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 98 tools with statutory citations.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server and typed TypeScript client for Mexico's Diario Oficial de la Federación (DOF), built on the public SIDOF JSON API, so AI agents (Claude Code, Claude Desktop, Cursor, etc.) can read official publications and financial indicators.
The DOF is where federal laws, decrees, tax and customs rules, and official indicators are published. Its JSON API is public, with only sparse official documentation (https://sidof.segob.gob.mx/datos_abiertos), and there is no typed client or MCP server for it on npm. This project wraps it with validation, provenance and a stable, normalized shape.
Three read-only tools:
| Tool | What it returns |
|---|---|
dof_daily_summary | A day's publications with counts by edition and organization; filter by edition or organization |
dof_get_note | One publication as plain text, paged with offset / maxChars for long notes |
dof_get_indicators | FIX exchange rate, UDI and TIIE rates for a day, or a daily series of one indicator |
Every result includes:
officialUrl: the publication on dof.gob.mx, so a person can check the official textprovenance: the SIDOF URL the data came from, when it was fetched (UTC) and a SHA-256 of the raw responseRequires Node.js 22 or later. The server runs over stdio; add it to your MCP client:
{
"mcpServers": { "dof": { "command": "npx", "args": ["-y", "dof-mcp"] } } }
claude_desktop_config.json (%APPDATA%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS)..cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project.claude mcp add dof -- npx -y dof-mcpnpx directly, use "command": "cmd", "args": ["/c", "npx", "-y", "dof-mcp"].A public instance runs at `https://mcp.aldomatias.com/mcp` (Streamable HTTP, no authentication, rate limited). Use it from clients that accept remote MCP servers, such as custom connectors in Claude, or:
claude mcp add --transport http dof https://mcp.aldomatias.com/mcp
It serves the same tools and the same release as the npm package. It is a free, best-effort service with no SLA; for heavy use, run the package yourself.
Privacy. The endpoint does not store IP addresses, tool arguments or results. For each request it logs the HTTP method and path, status, duration, the JSON-RPC method, the tool name, and the name and version your MCP client reports about itself (for example claude-ai). Those logs are kept for 7 days in AWS CloudWatch and are used only to count usage and detect failures. Traffic passes through Cloudflare, which processes IP addresses to apply rate limiting and DDoS protection under its own privacy policy. Questions: contacto@aldomatias.com.
npx dof-mcp --http --port 3000 # endpoint http://127.0.0.1:3000/mcp, probe /healthz
The HTTP transport is stateless, binds to 127.0.0.1 and validates the Host and Origin headers (--allowed-host adds hostnames). It has no authentication or rate limiting: to expose it beyond localhost, put it behind a reverse proxy that adds them. See SECURITY.md.
The package is ESM. import works everywhere; require("dof-mcp") works on Node.js 22.12 and later (require(esm)).
import { DofClient } from "dof-mcp";
const dof = new DofClient();
const notes = await dof.getNotes("2026-10-16"); // [{ id: 5801377, title: "Acuerdo por el que se crea ...", date: "2026-10-16", // edition: "matutina", branch: "PODER EJECUTIVO", // organization: "SECRETARIA DE SEGURIDAD Y PROTECCION CIUDADANA", page: 4, // hasPdf: true, hasHtml: true, // officialUrl: "https://dof.gob.mx/nota_detalle.php?codigo=5801377&fecha=16/10/2026" }, ...]
const note = await dof.getNote(5801457); // full text as plain text const fix = await dof.getIndicatorSeries("fix", "2026-10-01", "2026-10-16");
const { data, source } = await dof.getNotesWithSource("2026-10-16"); // source: { sourceUrl, fetchedAt, sha256, bytes }
Options (all optional):
| Option | Default | |
|---|---|---|
timeoutMs | 15000 | Per-request timeout |
retries | 2 | Retries for network errors, 429 and 5xx, with exponential backoff and full jitter; honors Retry-After up to 30 s |
maxResponseBytes | 10 MiB | Larger responses are rejected unparsed |
cacheTtlMs | 10 min | In-memory cache; identical concurrent requests share one fetch. 0 disables |
cacheMaxEntries | 256 | LRU bound |
maxCacheableBytes | 512 KiB | Larger responses are returned but not cached |
maxConcurrency | 4 | Requests in flight to SIDOF at once |
maxQueue | 64 | Requests waiting for a slot; beyond it they fail fast with DofQueueFullError |
undefined into callers."null"; the client returns titled publications only, with ISO dates, booleans and plain-text content.User-Agent, concurrency limit, cache, no redirects. SIDOF answers 406 to a bare Accept: application/json, so the client sends a header with a fallback.dof_daily_summary, dof_get_note, dof_get_indicatorsdof_search_notes; SIDOF's own search is broken)See CONTRIBUTING.md and RELEASING.md.
npm install
npm run lint && npm run typecheck && npm test && npm run build npm run test:live # contract tests against the live API
Unofficial project, not affiliated with the Secretaría de Gobernación. Data comes from the public SIDOF API and may change without notice. The text this package returns is a plain-text conversion, not the official edition: the official DOF is the signed PDF on dof.gob.mx, so always confirm against it.
The MIT license covers this code, not DOF content. SIDOF's legal notice allows reproducing its content for non-commercial purposes when the source is cited; commercial use requires written consent from the Secretaría de Gobernación. If you republish content obtained with this package, cite the Diario Oficial de la Federación as the source.
MIT