API & MCP
Everything a person can do on Hidden Fee Finder, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://hiddenfeefinder.usefulweb.site/api/v1/calculate– run Hidden Fee FinderGET https://hiddenfeefinder.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Hidden Fee Finder
Paste the lines of a quote, rental contract, booking or invoice (English or German). Hidden Fee Finder extracts the amounts, classifies each line with transparent keyword rules (base price, fee, tax, surcharge, penalty, deposit, discount, insurance/add-on, recurring), flags conditional penalties and optional add-ons, and shows how much of the total is not the base price.
| Field | Type | Default | Description |
|---|---|---|---|
text | textarea | — | Quote / contract / invoice lines. One cost per line. Supported amount formats: 1,234.56 / 1.234,56 / €12 / 12 EUR / 12,50 € and percentages like 19% or 2.5 %. |
items | table | — | Or: line items. Optional alternative to pasting text. Rows are appended after the pasted lines. |
currency | text | "EUR" | Currency |
numberFormat | select (auto, en, de) | "auto" | Number format |
Example request
Hotel booking with resort fee and conditional charges
curl -X POST https://hiddenfeefinder.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"currency":"USD","text":"Room rate, 3 nights: $420.00\nResort fee (mandatory): $105.00\nCity tax: 6%\nTravel insurance (pre-selected, optional): $29.99\nLate checkout fee if after 12:00: $50.00\nSecurity deposit (refundable): $200.00\nMember discount: -$21.00\nTotal: $566.03"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://hiddenfeefinder.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
hidden_fee_finder - Local stdio connector:
node src/mcp-stdio.ts --tool=hidden-fee-finder
{
"mcpServers": {
"hidden-fee-finder": { "type": "http", "url": "https://hiddenfeefinder.usefulweb.site/mcp" }
}
}