Counterfoil

Read stored EU e-invoice rule notes and the invoice field map. Not a validator.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
98%
命名の品質
95%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~686トークン数(ツール定義)
~942 B一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.54%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "counterfoil": {
      "url": "https://einvoicegoblin.com/mcp"
    }
  }
}

リモートエンドポイント

https://einvoicegoblin.com/mcpstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢get_rule(id)

Read one stored EU e-invoice rule by id. Returns the stored statement, context, test, plain reading, fix, and source URL. Does not check an invoice.

入力スキーマ

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "A stored rule id, such as BR-01 or BR-IC-05.",
      "pattern": "^[A-Za-z0-9-]+$",
      "maxLength": 40
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟢search_rules(query, bt, group)

Find stored rules by words, a BT code, or a group. Each hit returns the stored statement, plain reading, fix, and source URL. At most 100 hits. Does not check an invoice.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Words matched against the id, statement, reading, fix, context, and test. Every word must match. Case-insensitive.",
      "maxLength": 200
    },
    "bt": {
      "type": "string",
      "description": "A business term code such as BT-24, matched as a whole token.",
      "pattern": "^BT-\\d+$"
    },
    "group": {
      "type": "string",
      "description": "One stored group.",
      "enum": [
        "xrechnung",
        "payment",
        "totals",
        "standard-rated",
        "zero-rated",
        "export",
        "intra-community",
        "reverse-charge",
        "exemption",
        "not-subject",
        "igic",
        "ipsi",
        "split-payment",
        "code-list",
        "decimal",
        "excluded",
        "document",
        "syntax",
        "datatype"
      ]
    }
  },
  "additionalProperties": false
}
🟢explain_error(text)

Read a stored rule named in a rule id or a validator message. Returns the stored statement, plain reading, fix, and source URL when a stored rule matches. Does not check an invoice.

入力スキーマ

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "A rule id such as BR-01, or a validator message that quotes one.",
      "minLength": 1,
      "maxLength": 8000
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}
🟢check_invoice(xml)

Read a UBL Invoice XML slice of at most 60000 characters. Returns the business terms that slice writes, the field-map gaps, and one stored note when BR-DE-15 finds no non-empty buyer reference (BT-10). evaluation is false: no Schematron runs. The result does not say the invoice passed. The XML is not stored. A larger file is the raw body of POST /v1/invoices/check, up to 1048576 bytes.

入力スキーマ

{
  "type": "object",
  "properties": {
    "xml": {
      "type": "string",
      "description": "UBL Invoice XML. At most 60000 characters.",
      "maxLength": 60000
    }
  },
  "required": [
    "xml"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件