fr-legal-kit

io.github.CartonPliant由 GitHub 账号 CartonPliant 发布v1.3.0更新于 Oct 24, 2026

French legal helpers for agents: e-invoice, L441-10, SIRET/IBAN. $0.01 USDC x402

已验证Streamable HTTP可网页运行金融开发者工具商业与电商

概览

AI 生成的概览

远程 MCP 服务器,提供离线的法国法律与发票辅助计算,涵盖电子发票规则、滞纳金、SIRET/IBAN 校验和发票标注格式,按次付费。

可以做什么
计算法国发票规则:电子发票的接收方与开具方、付款期限上限、到期日、营业日计数、滞纳金利息与催款步骤、增值税税率与含税不含税换算、按比例分摊和 jours francs。生成发票措辞与标注:罚则文本、法律形式、注册资本、RCS/RM、注册地址、付款方式、CGV、所有权保留、反向征税、出口免税、形式发票、贷项通知、定金、副本、页脚和金额大写。校验与推导标识:SIRET/SIREN 校验位、由 SIRET 得 SIREN、法国 IBAN 与 RIB 密钥、欧盟内增值税号、EORI、APE/NAF 格式、邮编对应省份和法国电话号码格式化。查询法国法定节假日,包括阿尔萨斯-摩泽尔地区。
适用场景
适合助手起草、核对或解释法国发票、报价单和付款条款,或回答法国开票义务、节假日和标识格式相关问题。每次调用都计费,因此更适合少量有针对性的查询,而非批量处理。
运行要求
远程 streamable HTTP 端点;未声明需要账户、API 密钥或环境变量。调用通过 x402 协议在 Base 上以 USDC 按次付费,因此需要兼容的付费客户端或钱包。需要能访问该主机的网络。
安装前请注意
每次工具调用在 Base 上花费 0.01 USDC,重复或自动化使用会实际花钱;tools/list 据称免费。这些辅助工具是离线的格式与规则计算器,并非官方登记库:不提供 INSEE、VIES 或海关查询,输出也不是 Kbis 或官方证明。依赖结果前应核对现行法律文本。

安装

在 SourceWeft 中

  1. 打开 控制台中的 fr-legal-kit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.CartonPliant%2Ffr-legal-kit/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "fr-legal-kit": {
      "type": "http",
      "url": "https://fr-legal-kit.monnet-yanis1.workers.dev/mcp"
    }
  }
}

README

fr-legal-kit

x402 API for AI agents. Offline French legal helpers. $0.01 USDC on Base per call. No INSEE, no scrape, no PDP.

Live: https://fr-legal-kit.monnet-yanis1.workers.dev

MCP registry: io.github.CartonPliant/fr-legal-kit
x402scan: https://www.x402scan.com/server/edab7902-3c37-4463-97ef-fa115c225b8d
AgentCash: npx agentcash add https://fr-legal-kit.monnet-yanis1.workers.dev

Routes

POSTWhat
/v1/einvoice-whoWho must receive e-invoices since 1 Sep 2026 vs emit (GE/ETI 2026, PME/micro 2027)
/v1/late-penaltiesL441-10 C. com. interest (BCE MRO +10 pts, H2-2026 default 2.40%) + 40 € (D.441-5)
/v1/due-dateInvoice date + net days; next open day skipping L.3133-1 holidays 2026–2027
/v1/holidaysMetropolitan public holidays (11 in 2026, Easter Monday 6 Apr)
/v1/payment-term-maxAgreed-term ceiling: 60 days after invoice, or 45 days EOM if stipulated (L441-10 I)
/v1/tva-rateIndicative VAT 20 / 10 / 5.5 / 2.1
/v1/mention-fieldsChecklist of L441-9 / 293 B / L441-10 mention field ids
/v1/vat-keyFR intra-community VAT id from SIREN (CGI 286 ter formula, not VIES)
/v1/penalty-textCollable L441-10 + D.441-5 mention strings (12,40 % + 40 €)
/v1/franchise-293b2026 293 B thresholds (37 500 / 85 000 €) + statutory mention
/v1/dunning-stepsRelance calendar J+1 / J+8 / J+15 after due date (usage; L441-10 sans rappel)
/v1/open-daysInclusive open-day count between two dates (skip weekend + L.3133-1)
/v1/invoice-numberingL441-9 chronological sequence: next number + no-gap rules
/v1/amount-wordsFrench amount in words (12,40 → douze euros et quarante centimes)
/v1/alsace-holidaysAlsace-Moselle extras (Good Friday + St Stephen) + combined calendar
/v1/due-date-eom45 jours fin de mois (L441-10 I): month-end+45 and +45-then-EOM
/v1/ht-ttcHT ↔ TTC at CGI rates 20 / 10 / 5.5 / 2.1 / 0
/v1/days-lateCalendar days from due_date to as_of (input for late-penalties)
/v1/siren-from-siretSIRET → SIREN + NIC + checksums + VAT key (no INSEE)
/v1/quote-validityDevis validity calendar (default 30 days, usage not L441-9)
/v1/ape-nafAPE/NAF rev.2 format (4 digits + letter, e.g. 62.01Z). No INSEE
/v1/postcode-fr5-digit postcode → department (2A/2B, 97x, Alsace-Moselle flag)
/v1/legal-formExtra invoice mentions by form (EI/micro vs SAS/SARL capital+RCS)
/v1/iban-frFR IBAN 27 chars: bank / branch / account / RIB key + ISO checksum
/v1/credit-noteAvoir: next AV- number + CGI 289 mention of original invoice (L441-9, no reuse)
/v1/phone-frFR phone format (ARCEP): 10 digits / +33 → E.164 + invoice mention. No lookup
/v1/capital-socialShare-capital mention (SAS au capital de 1 000,00 €). EI/micro: none
/v1/rcs-mentionRCS + greffe city + SIREN (RCS Pau 404 833 048). Format, not a Kbis
/v1/invoice-currencyEUR legal tender; foreign ccy OK, VAT in euros. No FX
/v1/escompteL441-10 early-payment discount mention, or « Pas d'escompte… »
/v1/acompteDown-payment invoice: AC- number, 30% default, remaining TTC (CGI 289)
/v1/date-frInvoice date JJ/MM/AAAA + weekday (L441-9 emission date format)
/v1/payment-meansMeans of payment mention (virement / chèque / CB / …) L441-9
/v1/interest-startL441-10: interest starts the calendar day after the due date
/v1/siege-socialSiège social mention: street + CP + city (L441-9, not a Kbis)
/v1/net-a-payerInvoice footer HT/TVA/TTC + « Net à payer : 1 200,00 € »
/v1/doc-titleCGI 289 title: Facture / Avoir / acompte / note d'honoraires / Devis
/v1/autoliquidationReverse-charge VAT mention (CGI 283 / BTP 283-2 nonies / import)
/v1/eoriFR EORI = FR + SIREN (format only, no customs lookup)
/v1/duplicataCopy of an invoice: same number, stamped DUPLICATA (not a new invoice)
/v1/rm-mentionArtisan RM + city + SIREN (RM Pau 404 833 048). Format, not a D1
/v1/buyerL441-9 client identification: name + optional SIRET/SIREN + city
/v1/unitLine unit of measure (heure / jour / forfait / …) + optional qty
/v1/cgvL441-6 CGV mention (« Nos conditions générales de vente s'appliquent. »)
/v1/reserve-proprieteRetention-of-title clause (L.624-16) until full payment. Goods only
/v1/garantie-legaleConsumer legal warranty 2 years from delivery (C. conso L.217-3)
/v1/mediateurConsumer mediator mention (C. conso L.612-1). B2C only
/v1/deliveryDate of supply vs invoice date (CGI 289 / 242 nonies A)
/v1/lineL441-9 invoice line: designation + qty/unit + unit price HT
/v1/pageMulti-page invoice footer: Page X/Y
/v1/retractation14-day consumer withdrawal (L.221-18). B2C distance/off-premises
/v1/conservationKeep the invoice 10 years (L123-22) / 6 years tax (LPF L102 B)
/v1/prescriptionPayment action: 5 years B2B (L110-4) or 2 years B2C (L.218-2)
/v1/garantie-commercialeCommercial warranty (L.217-21), distinct from the 2-year legal one
/v1/exportVAT exemption: CGI 262 extra-EU or 262 ter I intra-EU
/v1/proformaPro forma header — not an invoice (CGI 289)
/v1/jours-francsJours francs (CPC 642): start day out, weekend/holiday rolls
/v1/clause-penaleContractual penalty clause (C. civ. 1231-5), not L441-10
/v1/periodeBilling period from/to for continuous services (CGI 289)
/v1/autofacturationSelf-billing stamp (CGI 289), optional seller name
/v1/rgpdInvoice data footer: RGPD 6.1.b/c + 10-year keep
/v1/langueFrench language mention (Toubon B2C / tax-control B2B)
/v1/commandePurchase-order number (+ optional date) on the invoice
/v1/deboursDisbursements out of the VAT base (CGI 267)
/v1/arrhesArrhes (C. civ. 1590), distinct from acompte — seller returns double
/v1/prorataCalendar prorata of a monthly HT over from/to
/v1/check-siretSIRET/SIREN checksum only
/v1/check-ibanIBAN ISO 13616 checksum only
POST /mcpMCP JSON-RPC: tools/list free, tools/call $0.01

See /llms.txt on the host. Isolated SKU — not Devis d’abord, not Fiche Pleine, not Ibis.

Related paid API: fr-invoice-mentions (mention blocks, $0.02).

来源:README.md,提交 ba8a7f0

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.3.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。