{
  "markdown": "# Final Notice — MCP server\n\n[![ptrinh/finalnotice-mcp MCP server](https://glama.ai/mcp/servers/ptrinh/finalnotice-mcp/badges/score.svg)](https://glama.ai/mcp/servers/ptrinh/finalnotice-mcp)\n\nFree, no-registration **Model Context Protocol** server that generates professional\ndebt-collection demand letters: a print-ready PDF (formal letter + matching envelope),\nlocalized and legally formatted for **100+ jurisdictions** and **33 languages**\n(including Arabic/RTL, CJK, Indic, Thai, Cyrillic, and Greek).\n\n- **Website:** https://finalnotice.io\n- **Hosted MCP endpoint:** `https://finalnotice.io/mcp` (Streamable HTTP, JSON-RPC 2.0)\n- **No auth, no API key, free.**\n\nThe rendering engine (fonts, layout, jurisdiction rules) runs on the hosted service.\nThis package is a thin **stdio** MCP server that forwards the three tools to the free\npublic API, so you can run it locally or point any MCP client at the hosted endpoint.\n\n## Use it\n\n### A) Hosted endpoint (nothing to install)\n\n```bash\nclaude mcp add --transport http final-notice https://finalnotice.io/mcp\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"final-notice\": { \"type\": \"http\", \"url\": \"https://finalnotice.io/mcp\" }\n  }\n}\n```\n\n### B) Run the stdio server locally (npx)\n\n```json\n{\n  \"mcpServers\": {\n    \"final-notice\": { \"command\": \"npx\", \"args\": [\"-y\", \"finalnotice-mcp\"] }\n  }\n}\n```\n\n### C) Docker\n\n```bash\ndocker build -t finalnotice-mcp .\ndocker run -i --rm finalnotice-mcp\n```\n\nThe stdio server calls `https://finalnotice.io` by default; override with the\n`FINALNOTICE_API_BASE` environment variable.\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `list_jurisdictions` | Supported countries, currencies, languages, and tones. Call first to pick a valid jurisdiction + language. |\n| `preview_demand_letter` | Render the letter's text (title, subject, body, amount, legal reference, closing) as structured JSON — no PDF — to review wording. |\n| `generate_demand_letter` | Generate the finished PDF (letter + envelope) and return it as a base64 resource. |\n\n### Minimal example (`generate_demand_letter` arguments)\n\n```json\n{\n  \"jurisdiction\": \"GB\",\n  \"language\": \"en\",\n  \"tone\": \"final\",\n  \"senderName\": \"Acme Ltd\",\n  \"senderType\": \"business\",\n  \"attested\": true,\n  \"senderAddress\": \"1 High St\\nLondon\",\n  \"debtorName\": \"J. Smith\",\n  \"debtorAddress\": \"2 Park Rd\\nLeeds\",\n  \"debtorType\": \"individual\",\n  \"amount\": 2450,\n  \"currency\": \"GBP\",\n  \"invoiceNumber\": \"INV-1042\",\n  \"deadlineDays\": 14\n}\n```\n\nRequired fields: `senderName`, `senderAddress`, `debtorName`, `debtorAddress`, `amount` (> 0).\nBusiness/firm senders must set `attested: true`. Set `debtorType: \"individual\"` to apply\nconsumer-protection rules where they exist (e.g. the UK Pre-Action Protocol for Debt\nClaims 30-day period, or the Dutch WIK fourteen-day wording).\n\n## Notes\n\n- A REST API mirrors the MCP tools: `GET /api/meta`, `POST /api/preview`, `POST /api/generate`.\n- This is not legal advice; letters are factual, non-threatening templates.\n- The service is free; an optional donation link is at https://finalnotice.io/donate.\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n",
  "bytes": 3112,
  "sha": "d4423c873a6b70ff05ce28dfd28dce226e7937e3f4faaf0a72fc8093e957e599",
  "repo_slug": "ptrinh/finalnotice-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ptrinh_final_notice_11a2f711/readme"
}