プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Mexican Tax & Banking

作者:OrtaMarcoバージョン 1.1.2i★ 1iパソコンで動くリポジトリ ↗
レジストリ名io.github.OrtaMarco/mx-fiscal-mcp-server

インストール方法

What it does

Validate RFC, CURP, CLABE and NSS, read CFDI 4.0 invoices and check their SAT status. No keys.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category 会計・財務・税務

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気7/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア19/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Mexican Tax & Banking をインストールして。https://mcp.popnx.com/i/ortamarco-mx-fiscal-mcp-server.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Mexican Tax & Banking を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "mx-fiscal": { "command": "npx", "args": [ "-y", "mx-fiscal-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Mexican Tax & Banking のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "mx-fiscal": {
          "command": "npx",
          "args": [
            "-y",
            "mx-fiscal-mcp-server"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Mexican Tax & Banking を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Mexican Tax & Banking を使っていると言うか、回答に Mexican Tax & Banking のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Mexican Tax & Banking につなげません

Mexican Tax & Banking はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Mexican Tax & Banking につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · 会計・財務・税務 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Mexican Tax & Banking を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user mx-fiscal -- npx -y mx-fiscal-mcp-server 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Mexican Tax & Banking のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user mx-fiscal -- npx -y mx-fiscal-mcp-server
  4. Claude Code で /mcp と入力

    Mexican Tax & Banking が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Mexican Tax & Banking を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Mexican Tax & Banking を使っていると言うか、回答に Mexican Tax & Banking のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Mexican Tax & Banking を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "mx-fiscal": { "command": "npx", "args": [ "-y", "mx-fiscal-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Mexican Tax & Banking のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Mexican Tax & Banking を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Mexican Tax & Banking を使っていると言うか、回答に Mexican Tax & Banking のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Mexican Tax & Banking を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "mx-fiscal": { "type": "stdio", "command": "npx", "args": [ "-y", "mx-fiscal-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Mexican Tax & Banking のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Mexican Tax & Banking を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Mexican Tax & Banking を使っていると言うか、回答に Mexican Tax & Banking のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Mexican Tax & Banking を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user mx-fiscal -- npx -y mx-fiscal-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mx-fiscal": {
      "command": "npx",
      "args": [
        "-y",
        "mx-fiscal-mcp-server"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mx-fiscal": {
      "command": "npx",
      "args": [
        "-y",
        "mx-fiscal-mcp-server"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mx-fiscal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mx-fiscal-mcp-server"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
321/週
接続方法
パソコンで動く
最新バージョンi
1.1.2
レジストリ公開日i
2026年11月10日
コードの最終更新i
2026年11月10日
作者
OrtaMarco
パッケージ
npm: mx-fiscal-mcp-server
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント OrtaMarco で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:9 日前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に mx-fiscal-mcp-server@1.1.2 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ortamarco-mx-fiscal-mcp-server.svg)](https://mcp.popnx.com/en/servers/ortamarco-mx-fiscal-mcp-server)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

会計・財務・税務のほかのサーバーとの比較i

  • このカテゴリのほかの3417件のうち87%よりスターが多い
  • このカテゴリのほかの3417件のうち77%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの3417件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Mexican Tax & Bankingは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は9 日前、最新バージョン(1.1.2)がレジストリに届いたのは9 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice成長中★ 98910 日前更新

クラウドで動く✓ 提供元 · solidinvoice.co

Signal8

SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.

作者:signal8ai成長中↓ 431/週★ 42510 日前更新

パソコンでもクラウドでも✓ 提供元 · signal8.ai

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

作者:Cursivez成長中★ 26111 日前更新

クラウドで動く✓ 提供元 · journalit.co

Beancount.io

Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.

作者:bex-co成長中★ 702 リポジトリ全体のスター44 日前更新

クラウドで動く✓ 提供元 · beancount.io
似たものと比べる
これ
Mexican Tax & Banking
SolidInvoiceSignal8JournalitBeancount.ioTapetide - Indian Stock Market MCP
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドでもパソコンにインストールでも使える
キーが必要いいえいいえはいいいえいいえはい
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/65/54/44/45/5
ライセンスMITMITMITNOASSERTIONMITMIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mx-fiscal-mcp-server

An MCP server that gives an AI agent Mexican tax and banking capabilities — validate RFC, CURP, CLABE and NSS with real check digits, read a CFDI 4.0 invoice, ask the SAT whether it is still live, and look up the SAT's code tables. No API keys, no CSD certificate, no PAC contract.

Ask Claude *"read this invoice and tell me whether it's still valid"* and it parses the XML, labels every SAT code, checks both RFCs and the arithmetic, and queries the SAT's public status service — instead of you opening three web tools.

> Read this CFDI and check it at the SAT

parse_cfdi(xml=" ")

CFDI A-1042 — 1160.00 MXN ✅ Stamped · version 4.0 · Ingreso Emisor: TES150312DX2 ✅ 601 — General de Ley Personas Morales Receptor: PELJ900521DK2 ✅ G03 — Gastos en general ✅ Totals add up: subtotal − discount + transferred − withheld = total

cfdi_status(xml=" ")

CFDI status — Vigente ✅ The invoice exists in the SAT's records and has not been cancelled. Es cancelable: Cancelable con aceptación EFOS: returned 200 — the issuer is NOT on the SAT's definitive 69-B list.


Why this exists

Mexican electronic invoicing has two halves, and only one of them was served.

Building and stamping a CFDI needs a CSD certificate and a contract with a PAC. That half already has tooling — mcp-cfdi-mx (Python) does it, and this server deliberately does not compete with it.

Reading is the other half, and it needs nothing: the check-digit algorithms are public, the SAT's catalogues are public, and the invoice status service behind the QR code on every printed invoice is public and unauthenticated. Yet an agent asked to validate an RFC will happily invent a regex that rejects XAXX010101000 — the RFC of every invoice issued to the general public — because that one does not satisfy its own check digit. This server is the read half, done carefully.

The arithmetic comes from mx-identifiers (MIT, zero dependencies, 101 tests against public vectors); the CFDI reader is ported from the tool running at ortamarco.me; the SOAP envelope was read out of nodecfdi/sat-estado-cfdi rather than guessed. It is the third of three read-only, key-free MCP servers alongside domain-security-mcp-server and seo-geo-mcp-server.

Tools

Identifiers
ToolWhat it does
validate_rfcRFC for individuals (13 chars) and companies (12), full modulus-11 check digit, parsed fields, birth/incorporation date. Flags the SAT generics and says which of them satisfies the arithmetic
validate_curp18-character CURP with the base-37 check digit; decodes birth date, sex, state (RENAPO keys, *not* INEGI/ISO) and the century marker
validate_clabe18-digit CLABE with the correct 3-7-1 control digit — each weighted product counts only its last digit (9 × 7 = 63 counts 3), not the Luhn-style sum of its digits (6 + 3 = 9) many implementations copy — plus the Banxico bank and the plaza code
validate_nss11-digit IMSS number with its Luhn digit, split into subdelegación / registration year / birth year / serial
generate_test_data ⭐1-100 coherent fake people or companies: the RFC and CURP derive from the same name and birth date, the CLABE's bank is a real participant, every check digit holds
CFDI
ToolWhat it does
parse_cfdi ⭐CFDI XML → JSON: header, issuer, receiver, every line item with transferred and withheld taxes, tax totals, and the Timbre Fiscal Digital (or null). Labels every catalogue code, validates both RFCs, checks the totals arithmetic. Walks the document by local name, so any PAC's namespace prefixes work. Reads 4.0 (Pagos 2.0 and Nómina documents included, but only the timbre and local taxes are extracted from complements; the rest are named in findings) and 3.3 with a version warning; a *Retenciones e información de pagos* document is refused with that explanation
cfdi_status ⭐Queries the SAT's public ConsultaCFDIService SOAP endpoint: Estado, EsCancelable, EstatusCancelación and ValidaciónEFOS, each with its meaning in plain words. Takes the four key fields or the whole XML. Fail-soft: 10 s timeout, one retry after a timeout, network error or 5xx (never after a 4xx), available: false on failure — never an exception
cfdi_batch_statusUp to 25 invoices through the same service, built to be gentle on it: two requests in flight at most, duplicates asked once, answers cached in memory for 10 minutes (an outage never is), and no new request once two in a row have failed. Bad items are reported one by one and cost no request
Catalogues
ToolWhat it does
sat_catalog_lookupNine bundled code tables — regimen_fiscal, uso_cfdi, forma_pago, metodo_pago, tipo_comprobante, objeto_imp, impuestos, bancos_clabe, estados_curp — by exact code (leading zeros ignored) or accent-insensitive text search. Never touches the network

Every tool is read-only, declares an outputSchema and returns structuredContent (validated by the SDK) alongside human-readable Markdown (default) or JSON (response_format="json"). Only cfdi_status and cfdi_batch_status are annotated openWorldHint: true: they are the two that reach the network.

Resources and prompts
KindNameWhat it is
Resourcemx-fiscal://catalogsIndex of the nine bundled code tables
Resourcemx-fiscal://catalog/ One table (regimen_fiscal, uso_cfdi, …) as JSON, same shape as sat_catalog_lookup
Promptreview_cfdiParse an invoice, check it at the SAT, report both honestly
Promptvalidate_identifiersClassify and validate a mixed list of RFC / CURP / CLABE / NSS
Promptseed_test_dataGenerate valid fake people or companies for a seed file

Honesty notes

These are surfaced in the tool output, not buried here:

  • Structurally valid is not registered. A check digit that adds up says the string is well-formed and nothing more. Only the SAT can say an RFC is registered; only RENAPO that a CURP belongs to a person. This server never asks either, and its wording never implies it did.
  • `XAXX010101000` does not satisfy its own check digit. The SAT assigned the general-public RFC by decree and the modulus-11 algorithm asks for a 4 where the SAT wrote a 0. XEXX010101000 (foreign residents) *does* satisfy it. The tools report is_generic and check_digit_satisfied as separate fields rather than collapsing both into "valid".
  • Reading a CFDI is not verifying it. parse_cfdi does not check the digital signature. A perfectly parseable invoice can be cancelled, or fabricated wholesale.
  • An unreachable SAT is not an invalid invoice. The status endpoint publishes no SLA and no status page, and it goes down. Its documentation states capacity for up to 2 million queries per hour and asks callers not to raise their query volume, since every query reads the SAT's transactional databases. cfdi_status degrades to available: false with the reason — a statement about the SAT, never about the document.
  • The bank list is a subset. bancos_clabe carries the main Banxico participants, not the full catalogue; an unknown code is reported as unknown rather than given an invented name. The plaza catalogue is not bundled at all, so the plaza code is returned verbatim.
  • EFOS codes are read from the SAT's own table. The SAT documents ValidacionEFOS in its *Documentación del Servicio de Consulta de CFDI* v1.4, section 3: 100, 101 and 104 put the issuer on the definitive 69-B list; 102 and 103 mean the issuer is not on it but a third-party RFC the invoice was issued on behalf of (*a cuenta de terceros*) is; 200 and 201 mean the issuer is not on it (201: nor any third party). efos_state speaks of the issuer only, and efos_third_party_state (listed / not_listed / not_reported / unknown) of the third parties. An empty field or an undocumented code is reported as unknown with the raw code kept in validacion_efos, never as "listed". Versions up to 1.0.1 reported 102 and 103 as an issuer on the list; 1.0.2 fixes it.
  • Bineo CLABEs (bank 165). 1.0.3 requires mx-identifiers ^1.0.1, which carries the fix for them.

Protocol

Built on the v2 MCP SDK, so it speaks the 2026-07-28 revision (server/discover, no initialize, per-request _meta envelope) and still serves 2025-era clients — Claude Desktop, Claude Code and Cursor — from the same server factory. The entry points own the era decision: serveStdio(factory) on stdio, createMcpHandler(factory) over HTTP with the default legacy: 'stateless'. There is no session state and no Mcp-Session-Id in either direction. npm run smoke exercises every tool on both eras and asserts the negotiated era of each connection.

Because the tool list is a compile-time constant, tools/list and server/discover advertise a real one-hour ttlMs with cacheScope: 'public' on 2026-era connections instead of the SDK's conservative ttlMs: 0.

Install

Requires Node.js 20+. Nothing to clone — every MCP client can run it with npx.

Use it with Claude Code

claude mcp add mx-fiscal -- npx -y mx-fiscal-mcp-server

Add --scope user (all your projects) or --scope project (writes a shared .mcp.json) before the --; the default is local to the current project.

Use it with Claude Desktop

Open *Settings → Developer → Edit Config* and add to claude_desktop_config.json — see examples/:

{

"mcpServers": { "mx-fiscal": { "command": "npx", "args": ["-y", "mx-fiscal-mcp-server"] } } }

On Windows use "command": "cmd" with "args": ["/c", "npx", "-y", "mx-fiscal-mcp-server"]. Restart the client, then ask: *"Generate 10 Mexican customers with valid RFC and CURP for my seed file."*

Use it with Cursor

The same JSON block goes in ~/.cursor/mcp.json (every project) or .cursor/mcp.json (this project only).

Use it with Codex

codex mcp add mx-fiscal -- npx -y mx-fiscal-mcp-server

or in ~/.codex/config.toml (a project-scoped .codex/config.toml also works):

[mcp_servers.mx-fiscal]

command = "npx" args = ["-y", "mx-fiscal-mcp-server"]

Self-host (HTTP transport)

The same server speaks stateless Streamable HTTP for remote or multi-client use.

TRANSPORT=http npx -y mx-fiscal-mcp-server

POST JSON-RPC to http://127.0.0.1:3000/mcp · health at /healthz

It is safe by default: it binds to 127.0.0.1 and only accepts localhost Host and Origin headers, which blocks DNS-rebinding attacks from a web page. To expose it — for example behind Coolify or Traefik — opt in explicitly:

VariableDefaultPurpose

冒頭だけを表示しています。続きはリポジトリで読めます