---
title: "Free salary and tax API and MCP server | Borja Burguillos"
description: "Free JSON API and MCP server for AI agents: Spain net salary 2026, Beckham Law, US pay, Dubai and US salary comparisons, UAE gratuity and D’Hondt."
url: "https://borbur.net/developers/"
language: "en"
author: "Borja Burguillos"
alternate_es: "https://borbur.net/es/desarrolladores/"
---

Free API · MCP server

# Free API and MCP server for AI agents

By [Borja Burguillos](https://borbur.net/about/) · Updated 19 November 2026

## 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](https://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`](https://borbur.net/api/spain-net-salary?gross=50000) |
| Beckham Law vs normal regime | [`/api/beckham-law?gross=120000`](https://borbur.net/api/beckham-law?gross=120000) |
| US take-home pay (federal) | [`/api/us-net-salary?gross=100000`](https://borbur.net/api/us-net-salary?gross=100000) |
| Dubai salary → Spanish gross | [`/api/dubai-salary-in-spain?aed_month=20000`](https://borbur.net/api/dubai-salary-in-spain?aed_month=20000) |
| Spanish salary → Dubai pay | [`/api/spanish-salary-in-dubai?gross=50000`](https://borbur.net/api/spanish-salary-in-dubai?gross=50000) |
| US salary → Spanish gross | [`/api/us-salary-in-spain?usd=100000`](https://borbur.net/api/us-salary-in-spain?usd=100000) |
| Spanish salary → US pay | [`/api/spanish-salary-in-the-us?gross=50000`](https://borbur.net/api/spanish-salary-in-the-us?gross=50000) |
| UAE end-of-service gratuity | [`/api/uae-gratuity?basic=10000&years=7`](https://borbur.net/api/uae-gratuity?basic=10000&years=7) |
| D’Hondt seats | [`/api/dhondt?province=Madrid&parties=A:1200000,B:950000,C:400000&blank=20000`](https://borbur.net/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](https://borbur.net/data/)

## More books

[Book**Why Bitcoin Had to Exist**The story of broken money](https://borbur.net/books/why-bitcoin-had-to-exist/) · [Book**Stablecoins for a Better World**Financial inclusion and social good](https://borbur.net/books/stablecoins-for-a-better-world/) · [Book**Beyond the Game**Web3 and the future of sports](https://borbur.net/books/beyond-the-game/) · [Coming soon**España, caballo ganador**Change the incentives and you change the country](https://borbur.net/books/espana-caballo-ganador/)

---
Source: https://borbur.net/developers/ · By Borja Burguillos (borbur.net). Index of all pages: https://borbur.net/llms.txt
