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)
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っている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月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント amatiasdev で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.2.2)がレジストリに届いたのは21 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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: 96 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