timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Mexico's official gazette (DOF): daily editions, full texts, title search, FIX, UDIS and TIIE.
제작자가 쓴 원문
이런 작업을 AI에게 가르치는 Skill, 이것과 함께 쓸 수 있습니다
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다
| 인기 | 0/80 | GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20 |
|---|---|---|
| 최신성 | 12/12 | 30일 안에 릴리스나 코드 변경이 있으면 만점 |
| 응답 중 | 0/8 | 마지막 점검 때 클라우드 엔드포인트가 응답 |
| 사용 점수 | 12/100 |
품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
한 문장으로 AI에게 설치 맡기기
DOF: Diario Oficial de la Federación 설치해 줘. https://mcp.popnx.com/i/beg-lag-mcp-dof.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 18일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude에 MCP server DOF: Diario Oficial de la Federación을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "dof": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/beg-lag/mcp-dof:1.0.0" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 DOF: Diario Oficial de la Federación의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
SettingsDeveloperEdit Config
{
"mcpServers": {
"dof": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-dof:1.0.0"
]
}
}
}DOF: Diario Oficial de la Federación을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 DOF: Diario Oficial de la Federación을 쓰고 있다고 하거나 답에 DOF: Diario Oficial de la Federación 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 DOF: Diario Oficial de la Federación에 연결할 수 없어요
DOF: Diario Oficial de la Federación는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
A · DOF: Diario Oficial de la Federación에 연결되는 앱 쓰기
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude Code에 MCP server DOF: Diario Oficial de la Federación을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user dof -- docker run -i --rm ghcr.io/beg-lag/mcp-dof:1.0.0 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 DOF: Diario Oficial de la Federación의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
claude mcp add --scope user dof -- docker run -i --rm ghcr.io/beg-lag/mcp-dof:1.0.0DOF: Diario Oficial de la Federación이 목록에 있고 연결됨으로 보이면 돼요
DOF: Diario Oficial de la Federación을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 DOF: Diario Oficial de la Federación을 쓰고 있다고 하거나 답에 DOF: Diario Oficial de la Federación 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Cursor에 MCP server DOF: Diario Oficial de la Federación을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "dof": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/beg-lag/mcp-dof:1.0.0" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 DOF: Diario Oficial de la Federación의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
DOF: Diario Oficial de la Federación을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 DOF: Diario Oficial de la Federación을 쓰고 있다고 하거나 답에 DOF: Diario Oficial de la Federación 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 VS Code에 MCP server DOF: Diario Oficial de la Federación을 설치해 주세요. 순서대로: 1) docker --version로 Docker가 있는지 확인. 없으면 https://www.docker.com/products/docker-desktop/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "dof": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/beg-lag/mcp-dof:1.0.0" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 DOF: Diario Oficial de la Federación의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
docker --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: Docker Desktop 설치: Mac은 Docker.dmg를 열고 아이콘을 "응용 프로그램"으로 드래그(Mac에 맞게 Apple silicon 또는 Intel 선택) · Windows는 Docker Desktop Installer.exe 더블클릭 · 설치 후 Docker Desktop 앱을 열어 두세요. curl 명령은 필요 없습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: docker --version
한 번 설치하면 Docker가 필요한 모든 도구에서 쓸 수 있습니다
DOF: Diario Oficial de la Federación을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 DOF: Diario Oficial de la Federación을 쓰고 있다고 하거나 답에 DOF: Diario Oficial de la Federación 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Claude Code
claude mcp add --scope user dof -- docker run -i --rm ghcr.io/beg-lag/mcp-dof:1.0.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"dof": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-dof:1.0.0"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"dof": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-dof:1.0.0"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"dof": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-dof:1.0.0"
]
}
}
}이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
oci: ghcr.io/beg-lag/mcp-dof:1.0.0이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 20일 점검
레지스트리 이름이 GitHub 계정 BEG-lag 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 그저께
MIT 사용
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/servers/beg-lag-mcp-dof)질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
아직 리뷰가 없어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 그저께 변경됐고, 최신 버전(1.0.0)은 그저께 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.
같은 카테고리에는: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Official Exa MCP for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Search and read Empryo's documentation. Read-only, no auth, no local access.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| 이 항목 DOF: Diario Oficial de la Federación | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 실행 위치 | 컴퓨터에 설치 필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 |
| 키 필요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| Claude에서 +로 추가 | 아니요 | 예 | 예 | 예 | 아니요 | 아니요 |
| 기본 점검 | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| 라이선스 | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 가격 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 |
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
English · Español
Re-staged from the real session in docs/demo.md . MP4 version .
mcp-dof is a Model Context Protocol server that lets Claude and other AI agents read Mexico's *Diario Oficial de la Federación* (DOF): what was published on any day, the full text of every decree, rule or notice as clean Markdown, title search over date ranges, and the exchange rate, UDIS and TIIE the DOF publishes daily.
The DOF is where Mexican federal law becomes law. Lawyers, compliance teams and analysts check it every morning. This server lets an agent do the reading, always citing the official link.
Real output, recorded through a real MCP client over stdio against the live API on 2026-11-17. Excerpts below are copied verbatim (… marks omitted lines); the full, unedited transcript is in docs/demo.md.
<!-- list_edition(date="2026-11-13") · 0.4 s -->
66 notes in 2 edition(s): matutina, vespertina. 44 avisos judiciales y generales hidden (pass include_avisos=true to list them).
PODER EJECUTIVO › PRESIDENCIA DE LA REPUBLICA
5803757 Decreto por el que se expide la Ley de Ingresos de la Federación para el Ejercicio Fiscal de 2027. · p. 4 · DOF…
<!-- get_indicators(date="2026-11-17") · 0.2 s -->
| Indicator | Value | Unit | Published | Key |
|---|---|---|---|---|
| Tipo de cambio FIX (dólar) | 18.5525 | MXN per USD | 2026-11-17 | usd |
| UDIS | 8.913896 | MXN per UDI | 2026-11-17 | udis |
| TIIE 28 días | 6.5147% | % annual | 2026-11-17 | tiie28 |
| TIIE 91 días | 6.5492% | % annual | 2026-11-17 | tiie91 |
| TIIE 182 días | 6.5995% | % annual | 2026-11-17 | tiie182 |
| TIIE de fondeo | 6.26% | % annual | 2026-11-17 | tiie_fondeo |
…
search_notes(practice_area="hidrocarburos", date_from="2026-10-01", date_to="2026-11-13") scanned 44 days (535 notes) in 10.7 s with a cold cache and returned 32 matches, from the CNE rules on marketing of natural gas and petroleum products to the ASEA emergency NOMs on LP gas.
Things you can ask once it is connected (example prompts, not recorded answers):
regulatory_digest prompt)You need uv. Nothing else: uvx downloads and runs the server.
Claude Code
claude mcp add dof -- uvx --from git+https://github.com/BEG-lag/mcp-dof mcp-dof
Claude Desktop: add this to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart:
{
"mcpServers": { "dof": { "command": "uvx", "args": ["--from", "git+https://github.com/BEG-lag/mcp-dof", "mcp-dof"] } } }
Docker: every release publishes a multi-arch image (linux/amd64, linux/arm64) to GitHub Container Registry. In any client config, use "command": "docker" with these arguments:
docker run -i --rm ghcr.io/beg-lag/mcp-dof:1.0.0
Any other MCP client: run mcp-dof over stdio, or mcp-dof --transport http --port 8000 for streamable HTTP at http://127.0.0.1:8000/mcp.
The metadata for the MCP Registry lives in server.json, under the name io.github.BEG-lag/mcp-dof.
| Tool | What it does | |
|---|---|---|
list_edition(date, edition, include_avisos) | Table of contents of a day (matutina, vespertina, extraordinaria), grouped by issuing agency, with note codes, pages, official links and the edition PDF. On weekends and holidays it points to the latest edition. | |
get_note(code, start, max_chars) | Full text of a note as Markdown (bold, tables and links preserved) with a metadata table. Long instruments are paginated. | |
search_notes(query, date_from, date_to, practice_area, edition, include_avisos, limit) | Title search over up to 92 days, newest first, with progress notifications. Accent and case insensitive, prefix matching (eléctric), "phrases", `a \ | b alternatives and acronyms (CFE, ISR`). |
get_indicators(date) | FIX exchange rate, UDIS, TIIE 28/91/182 and TIIE de fondeo for a date; weekends are completed with the latest publication of each indicator. | |
get_indicator_history(indicator, date_from, date_to) | One indicator over up to 400 days, with first, last, change, low and high. |
Practice-area presets for search_notes: energia, hidrocarburos, mineria, fiscal, ambiental, competencia, financiero, comercio_exterior, laboral, datos_personales, normas, telecom.
Also exposed: the prompt `regulatory_digest(practice_area, date_from, date_to, language)` and the resources dof://edition/{date} (JSON), dof://note/{code} (Markdown) and dof://practice-areas. Dates accept YYYY-MM-DD, DD-MM-YYYY, today or yesterday, in Mexico City time. All tools are annotated read-only.
flowchart LR
A["Claude or any MCP client"] -- "stdio / HTTP" --> B["mcp-dof FastMCP tools, prompt, resources"] B --> C{"TTL cache past days 12 h today 5 min"} C -- miss --> D["SIDOF client 250 ms spacing retries + backoff"] D -- "GET /notas/{fecha} /notas/nota/{id} /indicadores/..." --> E[("SIDOF API sidof.segob.gob.mx")] B --> F["HTML to Markdown styles to bold, tables kept"] B --> G["Title search accents, prefixes, presets"]
The DOF has no official API documentation beyond a few PDFs, so the endpoints, quirks and limits were probed by hand and written up in docs/api.md. A few highlights: a bare Accept: application/json header gets HTTP 406, invalid dates return HTTP 500, every table of contents mixes untitled separator rows with real notes, and the public search backend returns HTTP 204 for every query, which is why search_notes scans daily indexes instead.
Being polite to a government server is part of the design: a descriptive User-Agent, at least 250 ms between requests, exponential backoff that honours Retry-After, timeouts, and caching.
src/mcp_dof/
server.py FastMCP app: tools, resources, prompt, CLI entry point client.py async SIDOF client: throttling, retries, TTL cache models.py typed parsing of SIDOF payloads (editions, notes, indicators) markdown.py note HTML to Markdown, pagination at paragraph boundaries search.py query parser, accent-insensitive matching, practice-area presets formatting.py Markdown rendering of tool results dates.py date parsing and validation in Mexico City time tests/ 87 offline tests on recorded fixtures + 3 opt-in live tests scripts/ record_fixtures.py, demo.py (writes docs/demo.md), smoke_stdio.py (handshake check) docs/api.md the SIDOF API, as observed Dockerfile container image published to ghcr.io/beg-lag/mcp-dof server.json MCP Registry metadata
uv sync
uv run pytest # offline: recorded SIDOF responses, no network uv run pytest --live -m live # opt in: hits the real API uv run ruff check . && uv run ruff format --check . uv run python scripts/demo.py # real MCP round trip over stdio docker build -t mcp-dof . && uv run python scripts/smoke_stdio.py -- docker run -i --rm mcp-dof
CI runs ruff and the offline suite on Python 3.12, 3.13 and 3.14, validates server.json against the official MCP Registry schema, and builds the container and checks its MCP handshake. Pushing a vX.Y.Z tag publishes the image to GHCR. A separate weekly workflow runs the live tests, so a change in the government API shows up as a failed check instead of a confused agent.
Aviso REF:581596), so they are hidden by default and not searchable by content.existeHtml flag). Otherwise get_note returns the metadata plus the Word and edition PDF links.Unofficial: only the printed/official DOF is authoritative; not legal advice. This project is not affiliated with the Secretaría de Gobernación or the DOF. Verify any legal conclusion against the official publication and with the competent authority.
Built by Benjamín Esponda García, a Mexican corporate lawyer (energy, hydrocarbons and mining) who builds with AI. More at pivotek.mx and in the portfolio. Companion project: dof-diario, a living open dataset of the DOF table of contents.
Code released under the MIT License.