Free API · MCP server
Free API and MCP server for AI agents
In short
The calculators on borbur.net are available to developers and AI assistants for free. The JSON API answers simple web requests, and the MCP server lets AI assistants such as Claude or ChatGPT call the calculators directly when someone asks, for example, what €60,000 gross leaves in Spain. Both return the same figures as the pages, with a link to the source page. Please credit borbur.net.
MCP server
Address: https://borbur.net/mcp (Streamable HTTP, no sign-in, read-only).
In Claude: Settings → Connectors → Add custom connector, and paste the address. Any client that supports remote MCP servers can use it the same way.
Open source: the same calculations in JavaScript and Python, with tests and the data files, are on GitHub at github.com/Borbur14/spain-salary-calculator-2026 (MIT licence).
JSON API
Send a GET request with the parameters in the address. Every answer is JSON, open to any website (CORS), and includes the source page. The full list is at https://borbur.net/api/.
| Calculator | Example request |
|---|---|
| Spain net salary 2026 | /api/spain-net-salary?gross=50000 |
| Beckham Law vs normal regime | /api/beckham-law?gross=120000 |
| US take-home pay (federal) | /api/us-net-salary?gross=100000 |
| Dubai salary → Spanish gross | /api/dubai-salary-in-spain?aed_month=20000 |
| Spanish salary → Dubai pay | /api/spanish-salary-in-dubai?gross=50000 |
| US salary → Spanish gross | /api/us-salary-in-spain?usd=100000 |
| Spanish salary → US pay | /api/spanish-salary-in-the-us?gross=50000 |
| UAE end-of-service gratuity | /api/uae-gratuity?basic=10000&years=7 |
| D’Hondt seats | /api/dhondt?province=Madrid&parties=A:1200000,B:950000,C:400000&blank=20000 |
Rules of use
Free, no key. Please keep requests reasonable and credit “borbur.net” with a link when you show results.
Figures are estimates for comparison, not tax or legal advice. Spain: 2026 rules for a single employee with no children unless stated. US: federal tax and FICA, no state tax. Exchange rates: ECB reference rates (dates in each answer).
Download the tables instead: Open data: salary, tax and election tables



