Dof MCP logo

Dof MCP

Reads Mexico’s official DOF publications and financial indicators through typed MCP tools backed by the SIDOF JSON API.

Install Dof MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "dof-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dof-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

dof-mcp exposes Mexico’s Diario Oficial de la Federación through a typed TypeScript client and three read-only MCP tools. Agents can summarize daily publications, retrieve a publication as paged plain text, and query FIX, UDI, and TIIE indicators. It runs over stdio or Streamable HTTP and includes official URLs plus provenance details for returned data. Reach for it when an agent needs to inspect Mexican federal publications or official financial indicators and results should be checked against their source.

Use cases

  • Summarize a day’s Mexican federal publications
  • Retrieve a DOF note in plain text chunks
  • Check FIX, UDI, or TIIE values for a date
  • Trace returned data to its SIDOF and official DOF sources

Key features

  • Daily publication summaries with edition and organization filters
  • Paged plain-text retrieval for individual DOF notes
  • FIX, UDI, and TIIE indicator queries and series
  • Official URLs and SHA-256 provenance metadata
  • Stdio and Streamable HTTP transports
  • Typed TypeScript client with validation, caching, and retries

Tools3

What Dof MCP lets your agent do. Expand a tool for its parameters.

Verified live~834 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age26 days
Maintainers1

Observed 2026-11-13 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · dof-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.4kPackage downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Dof MCP works

What dof-mcp does

dof-mcp connects AI clients and TypeScript applications to Mexico’s Diario Oficial de la Federación through the public SIDOF JSON API. Its focus is retrieval: daily publication listings, individual publication text, and selected financial indicators. The MCP interface is read-only, so it does not publish, edit, or submit content to the DOF.

The server returns normalized data rather than exposing SIDOF responses directly. Publication records use ISO dates, boolean fields, and titled entries, while note content is converted to plain text. Responses include an official DOF URL for human verification and provenance information describing the SIDOF source, fetch time, and SHA-256 digest of the raw response.

How it works

Three MCP tools cover the available operations:

  • dof_daily_summary retrieves publications for a date and can filter them by edition or organization. It also provides counts grouped by edition and organization.
  • dof_get_note retrieves one publication as plain text. offset and maxChars allow clients to read long notes in sections.
  • dof_get_indicators returns FIX, UDI, and TIIE values for a date, or a daily series for one indicator.

The package validates SIDOF responses with Zod and rejects unexpected shapes at the API boundary. It limits concurrent requests, applies in-memory caching, and retries network failures, HTTP 429 responses, and 5xx responses with backoff. Response-size and queue limits help prevent unusually large or overloaded requests from being processed indefinitely.

Setup and configuration

Node.js 22 or later is required. For local MCP use, configure a client to launch the package with npx -y dof-mcp. The server communicates over stdio. Claude Desktop, Cursor, and Claude Code are documented client options; Claude Code can add it with claude mcp add dof -- npx -y dof-mcp. On Windows, clients that cannot invoke npx directly can start it through cmd /c.

A hosted Streamable HTTP endpoint is also available at https://mcp.aldomatias.com/mcp. It requires no installation or authentication, but is rate limited and provided on a best-effort basis without an SLA. For heavier usage, run the package locally.

The package can also start a local HTTP server with npx dof-mcp --http --port 3000. This endpoint listens on 127.0.0.1, uses /mcp for MCP traffic, and exposes /healthz for probing. The local HTTP mode has no authentication or rate limiting; deployments beyond localhost should place it behind a reverse proxy that supplies those controls. Host and Origin validation can be adjusted with --allowed-host.

TypeScript applications can import the ESM package and instantiate DofClient. Client options include request timeout, retry count, response-size limits, cache lifetime and size, maximum SIDOF concurrency, and the waiting queue limit.

Limitations and notes

Returned note text is a plain-text conversion, not the signed official edition. Legal, regulatory, or publication-sensitive work should verify the result against the linked PDF or official DOF page. The project is unofficial and is not affiliated with the Secretaría de Gobernación; SIDOF data may change without notice.

The hosted service records request metadata such as method, path, status, duration, JSON-RPC method, tool name, and the client name and version it reports. Its logs are retained for seven days. It does not store IP addresses, tool arguments, or results, while Cloudflare processes IP addresses for rate limiting and DDoS protection.

The MIT license applies to the code, not to DOF content. SIDOF’s legal notice permits non-commercial reproduction with attribution; commercial use requires written consent from the Secretaría de Gobernación.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dof MCP

dof-mcp is an MCP server that connects AI clients to Mexico’s Diario Oficial de la Federación through the public SIDOF JSON API. Its main tools summarize daily publications, retrieve individual notes as paged plain text, and query FIX, UDI, and TIIE financial indicators. It is read-only and returns source provenance.

Install it by configuring your MCP client to run `npx -y dof-mcp` with Node.js 22 or later. Claude Desktop and Cursor use their MCP configuration files, while Claude Code can run `claude mcp add dof -- npx -y dof-mcp`.

Yes, dof-mcp works with Cursor through its MCP configuration. Add the stdio command to `.cursor/mcp.json` for a project-specific setup or to `~/.cursor/mcp.json` to make it available across projects.

Yes, use the hosted Streamable HTTP endpoint at `https://mcp.aldomatias.com/mcp` from a client that accepts remote MCP servers. The endpoint requires no authentication but is rate limited and has no SLA.

Run `npx dof-mcp --http --port 3000`; MCP requests use `http://127.0.0.1:3000/mcp` and health checks use `/healthz`. The local HTTP mode has no authentication or rate limiting, so use a reverse proxy before exposing it beyond localhost.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDof MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dof-mcp?style=directory)](https://allmcps.com/mcp/dof-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/dof-mcp"><img src="https://allmcps.com/api/badge/dof-mcp?style=directory" alt="Dof MCP on AllMCPs" /></a>