Skip to content

Counterfoil

by einvoicegoblin.com · remote · no sign-in to list tools · v0.45.0 · published by com.einvoicegoblin

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

Read only

4 tools: 4 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http counterfoil https://einvoicegoblin.com/mcp

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

4 tools

Only reads 4Claude Code: allow
  • check_invoiceRead a UBL Invoice XML slice of at most 60000 characters.No findings

    Why it is in this group

    • The description's first verb is "read": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false
  • explain_errorRead a stored rule named in a rule id or a validator message.No findings

    Why it is in this group

    • The name "explain_error" says "explain": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false
  • get_ruleRead one stored EU e-invoice rule by id.No findings

    Why it is in this group

    • The name "get_rule" says "get": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false
  • search_rulesFind stored rules by words, a BT code, or a group.No findings

    Why it is in this group

    • The name "search_rules" says "search": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 0.45.0. Values in angle brackets are yours to fill in.

claude mcp add --transport http counterfoil https://einvoicegoblin.com/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__counterfoil__get_rule",
      "mcp__counterfoil__search_rules",
      "mcp__counterfoil__explain_error",
      "mcp__counterfoil__check_invoice"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as counterfoil. Review it before you use it.