Diario Oficial de la Federación (unofficial) MCP server
io.github.amatiasdev/dof-mcp·v0.2.2Publications and financial indicators from Mexico's Diario Oficial de la Federación (DOF)
0 stars85 downloads/wk
Reviews
Write oneNobody has reviewed Diario Oficial de la Federación (unofficial) yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Diario Oficial de la Federación (unofficial) tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
dof_daily_summaryLists the publications in the Diario Oficial de la Federación for one day, with counts
dof_get_indicatorsReturns indicators published in the DOF: FIX exchange rate (pesos per dollar), UDI
dof_get_noteReturns one DOF publication with its content as plain text. Long notes are paged:
Public scan report
scanner v0.1.10 · 2026-10-28 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 4 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Diario Oficial de la Federación (unofficial) compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Tools
- 3
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 85
- more than 59% of 12,191 servers with a package
What its tools let an agent do: 3 read
Install Diario Oficial de la Federación (unofficial) in Claude Code, Cursor or VS Code
Runs npx -y dof-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add dof-mcp -- npx -y dof-mcp
What the publisher says
From the Diario Oficial de la Federación (unofficial) repository's README, as published. We do not edit it. Read it on GitHub
dof-mcp
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.
Why
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.
MCP server
Three read-only tools:
Every result includes:
- officialUrl: the publication on dof.gob.mx, so a person can check the official text
- provenance: the SIDOF URL the data came from, when it was fetched (UTC) and a SHA-256 of the raw response
Install
Requires 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: Settings → Developer → Edit Config, which opens claudedesktopconfig.json (%APPDATA%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS).
- Cursor: .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project.
- Claude Code: claude mcp add dof -- npx -y dof-mcp
- Windows: if your client cannot start npx directly, use "command": "cmd", "args": ["/c", "npx", "-y", "dof-mcp"].
Hosted endpoint (no install)
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/mcpIt 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.
Streamable HTTP
npx dof-mcp --http --port 3000 # endpoint http://127.0.0.1:3000/mcp, probe /healthzShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Diario Oficial de la Federación (unofficial): common questions
- Is Diario Oficial de la Federación (unofficial) MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Diario Oficial de la Federación (unofficial) safety report
- How do I install Diario Oficial de la Federación (unofficial)?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Diario Oficial de la Federación (unofficial) need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Diario Oficial de la Federación (unofficial) maintained?
- The last commit was 11 days ago (2026-10-24). The latest release is v0.2.2.
- How does Diario Oficial de la Federación (unofficial) compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); tools 3 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.