プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

DF-e

作者:mcp-dirバージョン 0.1.0i★ –iクラウドで動く
レジストリ名io.github.mcp-dir/dfe-mcp

インストール

概要

作者による説明(英語の原文)

Brazilian SEFAZ e-invoices (NF-e, CT-e) issued against your company. A1 cert, DANFE PDF.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: クラウドで動く
  • トランスポート: Streamable HTTP
  • カテゴリ: 文書・表計算・事務作業

インストール

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

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • 作者のサーバーで動きます。あなたが頼んだ内容は、作者のサーバーを通ります。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

ウェブ、デスクトップ、モバイルのClaudeで使えます:

  1. Settings → Connectors を開く
  2. Add custom connector を押す
  3. 下のアドレスを貼り付けて Add を押す
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Add2https://…3
https://api.mcp.ai/p_dfe

ターミナルでこれを実行します

claude mcp add --transport http dfe https://api.mcp.ai/p_dfe

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "dfe": {
      "url": "https://api.mcp.ai/p_dfe"
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "dfe": {
      "type": "http",
      "url": "https://api.mcp.ai/p_dfe"
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ChatGPTがつなげるのは、インターネット上のサーバーだけです:

  1. ウェブ版のChatGPTを開き → Settings → Connectors (Apps)
  2. Create または Add を押す(プランによっては、先に Advanced で Developer mode をオンにする必要があります)
  3. 下のアドレスを貼り付け、名前を付けて保存する
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Create2https://…3
https://api.mcp.ai/p_dfe

メニューの名前は、プランや時期によって少し違うことがあります。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

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

できること

このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

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

    まだチェックしていません。エンドポイントは順番にチェックしています

  • … 未チェック

    OAuthでサインイン

    まだチェックしていません。エンドポイントは順番にチェックしています

  • … 未チェック

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

    まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります

文書・表計算・事務作業のほかのサーバーとの比較i

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

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

よくある質問

DF-eは安全ですか?

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

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

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

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

作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。

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

GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは2 か月前です。

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

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。

代わりに使えるものは?

同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

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

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

パソコンで動く★ 4,276MIT6 日前更新
インストール

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

パソコンで動く★ 847MIT3 日前更新
インストール

作者のREADME

READMEを開く

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

DF-e

DF-e MCP, the invoices your suppliers issued against your Brazilian company

Pulls the electronic fiscal documents issued against your Brazilian company (supplier invoices, CT-e freight bills and events) straight from SEFAZ, through the official NFeDistribuicaoDFe web service, using your own A1 digital certificate. Incremental NSU sync with query-budget control so your tax ID never gets blocked. It also renders the DANFE PDF from the XML, which is the printable document, since SEFAZ distributes XML and not PDF. Read-only. Not affiliated with SEFAZ or the Brazilian Federal Revenue Service.

  • 📥 The invoices that came IN, not the ones you issued — everything suppliers and carriers issued against your tax ID, straight from SEFAZ
  • 🔐 Your own A1 certificate, no middleman — the SEFAZ handshake uses your company's own e-CNPJ, encrypted at rest
  • 🔁 Incremental NSU sync — each call brings up to 50 documents and the next one resumes where it stopped, until the queue ends
  • 🚦 It will not get your tax ID blocked — SEFAZ enforces a 1-hour block on whoever keeps polling past the end of the queue, and one tool just reports the hour's remaining budget
  • 🧾 DANFE PDF from the XML — the printable representation SEFAZ does not distribute, rendered without spending a query
  • 💬 Works with any MCP client: Claude Desktop, ChatGPT, Cursor, VS Code, Cline, Continue

Versão em português · Full docs (PT-BR) · Agent skill


One-click install

Claude (Web and Desktop)

Anthropic unified MCP installation at claude.ai/customize/connectors. The same link works for Claude Web and Claude Desktop (just be logged in):

➕ Open in Claude and connect

Manual (if the deeplink does not open): claude.ai/customize/connectors → + → Add custom connector → paste Name DF-e and URL https://api.mcp.ai/p_dfe.

Cursor

➕ Install DF-e in Cursor

VS Code (Copilot Chat)

➕ Install DF-e in VS Code

ChatGPT, Manus, OpenClaw and 40+ other clients

Works with any MCP client that speaks MCP over HTTP. The server URL is always:

https://api.mcp.ai/p_dfe

Per-client details: INSTALL.md.


Example prompts

Sync the new fiscal documents for my company

How many SEFAZ queries do I have left this hour? Which supplier invoices came in this week, and from whom? Fetch the invoice with access key 3526... Render the DANFE PDF for the invoices I just synced What is the total of the inbound invoices that arrived this month?


6 tools available

ToolDescription
dfe_list_accountsLista os CNPJs conectados neste install (razão social, CNPJ e UF).
dfe_sincronizarPuxa os documentos fiscais NOVOS emitidos contra este CNPJ (nota de fornecedor, evento, CT-e) — NFeDistribuicaoDFe.
dfe_consultar_nsuBusca UM documento específico pelo NSU.
dfe_consultar_chaveBusca um documento pela chave de acesso de 44 dígitos.
dfe_gerar_danfeGera o DANFE (o PDF da nota) a partir do XML.
dfe_orcamentoQuantas consultas ainda cabem nesta hora para este CNPJ, e se ele está bloqueado.

Details for each tool: docs/ferramentas.md (PT-BR)


What you can ask

AreaCoverage
ConnectionsThe tax IDs connected to this install, with company name and state
SyncIncremental NSU queue: supplier NF-e, CT-e freight bills and events issued against the company
Single documentLookup by NSU (to recover an item that failed) or by the 44-digit access key
DANFEThe invoice PDF rendered from the XML, delivered as a download link
BudgetHow many queries are left this hour and whether the tax ID is blocked
Three honest notes before you subscribe
  1. It does not return the invoices YOUR company issued. The distribution service hands the *recipient* what was issued against them; technical note 2014.002 excludes the issuer explicitly. To audit your own output, the XML comes from your ERP.
  2. Without recipient acknowledgement, many documents arrive as a SUMMARY only. SEFAZ releases the access key, the issuer and the amount, and only unlocks the full XML (with line items) after the recipient acknowledges the invoice. No line items means no DANFE and no line-by-line audit. That acknowledgement is not issued by this MCP yet.
  3. The query limit belongs to SEFAZ and is per tax ID. It is 20 queries per hour, shared with any other system querying the same company (your ERP, your accountant). That is why one tool does nothing but report the hour's budget, and why the sync stops on its own at the end of the queue.

Pricing

Billed per connected account. See docs/precos.md (PT-BR).


Privacy & data protection

  • Read-only, no tool changes data at the source.
  • Sub-processors: the LLM host you choose (Claude, ChatGPT, Cursor, your own agent). Full list in docs/privacidade-lgpd.md.
  • Data returned by the tools is sent to the LLM host you choose, a sub-processor outside our control. We recommend plans with training opt-out.

FAQ

Is this an official SEFAZ or Federal Revenue service? No. This is an independent MCP that talks to the public NFeDistribuicaoDFe web service using your own company's digital certificate. It is not affiliated with SEFAZ or the Brazilian Federal Revenue Service and implies no official relationship. The names are used nominatively, to say where the data comes from.

Does it return the invoices my company issued? No, and that is a SEFAZ limit rather than ours: the distribution service hands the recipient what was issued against them, and technical note 2014.002 excludes the issuer. For your own output, the XML lives in your ERP.

Why do some documents arrive without line items? Because SEFAZ only unlocks the full XML after the recipient acknowledges the invoice. Until then it delivers a summary: access key, issuer and amount. Each document carries completo: true/false so you know which of the two you got. Since the DANFE needs the line items, it is rendered only from the full XML.

Can I use my accountant's certificate? It will not work. SEFAZ matches the certificate holder against the queried tax ID, so you need the A1 e-CNPJ of the company itself. An accounting firm connects one tax ID per client, each with that client's own certificate.

Could this get my tax ID blocked? The risk is real and it comes from the SEFAZ rule: 20 queries per hour per tax ID, and polling past the end of the queue earns a 1-hour block. The MCP stops on its own when the queue ends, and one tool reports the remaining budget without spending a query. What it cannot control is what your other systems query against the same tax ID, because the limit is shared.

Can I fetch an older invoice by its access key? Yes, as long as it reached the national environment within the last 90 days, which is the SEFAZ window for key lookups. Outside it, the incremental NSU queue is the way.

Where does my certificate live? Encrypted at rest, and used only for the TLS handshake with SEFAZ. There is no third party in the path: the certificate hitting SEFAZ is your company's. The captured XMLs are returned to the caller and are not stored by us beyond operational logs.

How is it billed? Per connected tax ID, with unlimited documents. The tax ID is the axis because it is what consumes the SEFAZ query budget; how many invoices your company receives does not change our cost, so charging for that would make no sense. Current pricing at mcp.ai/dfe.


Support


License

MIT — see LICENSE. The MCP server at api.mcp.ai/p_dfe is proprietary (hosted); this repo (manifests, docs, skills) is MIT.

PopNxに聞く