Skip to content

Taxes with AI: what ChatGPT and Claude can and cannot do

What you can do with ChatGPT or Claude for your freelancer taxes in Spain, what not to hand over to them and how to connect Melso through MCP so your AI works with your data while a gestor reviews and files the quarterly returns and the Renta.

By Albert SalguedaReviewed by Equipo Melso, Revisión editorialPublished 12 min read
Chat window with chips for expenses, invoices and calendar, with no brand text.

In short

  • A general AI explains concepts and sorts documents, but it can be wrong or behind the rules: check every figure against the AEAT.
  • MCP is the standard that connects your AI to your real data; the connection uses OAuth and works with a single company.
  • With Melso connected, your AI can read expenses, record a received invoice, prepare an invoice draft and read the tax calendar.
  • No tool approves, files or pays a return: a gestor reviews and files them, and the AEAT receipt proves it.
  • The official documentation of ChatGPT and of Claude warns that custom servers are not verified: connect only trusted ones.

Taxes with AI: what you can do with ChatGPT or Claude and what you cannot

With ChatGPT or Claude you can understand your taxes, sort invoices and prepare drafts, but not approve, file or pay a return. If you connect Melso through MCP, your AI works with your real data and a gestor reviews and files your quarterly forms and the Renta. Below: what to hand over, how to connect it and what to watch.

If you first want to understand what a gestoría does for a freelancer, read what a gestoría does. This guide is about what your own AI does with your obligations and how to connect it safely. For the specific forms, see modelo 303 and modelo 130.

What an AI does well with your taxes and what it does not

A general AI is useful for reading and language tasks: explaining what a form is, summarising a letter from the tax agency, classifying a list of expenses or drafting the question you will ask your gestor. It is poor at what needs exact, current data: calculating your quarter without your invoices, applying a rule from two weeks ago or filing anything in your name.

TaskWith ChatGPT or Claude, not connectedWith your data connected
Explain a formUseful, check the sourceThe same, with your case in view
Classify expensesUseful if you paste the listReads your recorded expenses
Know what you have to fileRisky: it invents or is out of dateReads your tax calendar
Calculate a quarterOnly with what you pasteStarts from your records
File or payIt cannotIt cannot: a gestor does it

The risk of being out of date is not theoretical. Royal Decree-law 43/2026 of 24 November, published on 25 November, is so recent that a model trained earlier does not know it.

With effect from 1 January 2027, it creates a voluntary special annual VAT regime for individuals whose volume of operations in the previous year did not exceed 85,000 euros, with three payments on account in April, July and October.

It also changes the instalment payments of income tax, which are the quarterly ones for freelancers on direct estimation.

Being an urgent rule, Congress must validate it. As of 4 December 2026 we have not found its validation in the BOE, so it is pending. An AI without an up-to-date source can give you the old rule with complete confidence.

What MCP is and how it connects your AI to your data

MCP (Model Context Protocol) is an open-source standard for connecting AI applications to external systems. Instead of copying and pasting data, your AI calls a server that exposes tools: read expenses, record an invoice, consult a calendar. The server decides what each connection sees and can do.

Both providers document how to connect a remote MCP server. In the OpenAI documentation on MCP servers, remote servers are configured with an address and, when needed, an OAuth token. In ChatGPT, the OpenAI page for adding a custom MCP server supports SSE and streaming HTTP protocols with OAuth authentication. In Claude, the Anthropic guide to custom connectors explains how to add an address, choose the sign-in method and turn on the connector in each conversation.

The two documentations agree on the warning. ChatGPT's says that remote servers have not been verified by its provider and that, by default, it asks for your approval before sharing data with one. Claude's says that custom connectors are not verified and recommends reviewing the permissions and the approval requests of each tool. Connect only servers from a company you trust.

Five steps: you add the server address, sign in with OAuth, choose the company, review the tools and permissions, and first ask for something read-only.(opens the image in a new tab)
What happens when you connect your AI to an MCP server

Taxes with AI: how to connect Melso to Claude or another MCP client

Melso publishes an MCP server at https://mcp.melso.ai/mcp, with streaming HTTP transport and OAuth. Connecting it requires a Melso account with the freelancer tax profile set up. These are the routes its MCP page documents:

  1. Claude (web and desktop). Press Add to Claude on Melso's MCP page: Melso's listing opens in Claude's directory. Sign in to Melso, choose the company and confirm.
  2. Claude Code, Codex or Cursor. Each has its own command or configuration, which Melso lists in its documentation.
  3. Another client with remote MCP and OAuth. The MCP page gives the server address for any compatible client.
  4. Read-only test. Ask "Read my Melso company without changing anything" and check that the company is the right one.

What your AI can do with Melso connected

The list of tools depends on the plan, the role and the configuration of your company. With the tools available, your AI can do four things, and you can ask for them in your own words:

What you askWhat the tool doesWhat stays in your hands
"Summarise my expenses for the quarter"Reads your expenses and their detailReview the ones with no supporting document
"Record this received invoice"Records the expense from the documentCheck that it matches the original
"Prepare October's invoice for this client"Saves a draftReview it; only the account holder can authorise issuing it
"What do I have to file this month?"Reads your profile's tax calendarDecide with your gestor what to do

Issuing an invoice is the exception worth understanding. The account holder can authorise, from their own connection, the issuing of the exact version they saved, if the server's requirements are met. Preparing a draft does not authorise issuing it. Returns follow another path: no tool approves, files or pays a return.

Five useful requests and one to avoid

A good request asks for a specific task, with your data and a source. These five work well with ChatGPT or Claude, with or without a connection to your data:

  • "Explain this form with an example." Ask for the official source and compare it.
  • "Summarise this letter from the tax agency and tell me which date it mentions." Check the date in the original document, not in the summary.
  • "Classify these expenses by category and flag the ones without an invoice." It is a reading task, with no risk.
  • "Prepare the questions for my gestor about this quarter." You arrive at the meeting with the list ready.
  • "Read my expenses for the quarter and tell me which have no document." Only with a connection to your real data.

The request to avoid is "file my return" or "pay the quarter". No AI client can do it for you reliably, and filing requires representation and a receipt. If a tool promises otherwise, be wary and check who files and how you receive the proof.

Example: Marta asks about her quarter's expenses

This example is illustrative, with invented figures. Marta is self-employed, has a dog grooming salon in Zaragoza and connects Melso to her Claude. Her first request is read-only and checks that the company is hers. Then she asks: "What expenses do I have this quarter?".

The expenses tool returns three categories: professional services with €650, software with €480 and work supplies with €320. The total recorded is €1,450.

Marta sees that a receipt for supplies is missing, uploads it and asks for it to be recorded from the document. Then she asks what she has to file: the calendar shows her the forms for her profile. A gestor reviews the quarter and files them. Marta keeps the AEAT receipts, which are the proof that they were filed.

Professional services of 650 euros, software of 480 euros and work supplies of 320 euros add up to 1,450 euros of recorded expenses.(opens the image in a new tab)
Illustrative example, with invented figures.

How Melso helps

If you want to see the tools Melso offers your AI and how to connect it, look at Melso's MCP page. The team of gestores prepares the quarterly returns and the Renta, and a gestor files them.

Who files and when: the 303 and the 130

Your AI can get you closer to the draft, but filing is something else. The AEAT allows a social collaborator to file returns on behalf of third parties. At Melso, a gestor files the included returns, and the receipt proves the filing.

The deadlines for the quarterly returns are these, according to the AEAT instructions:

The quarterly modelo 303 self-assessment is filed from 1 to 20 of the month following the settlement period (April, July, October) and the fourth-quarter one from 1 to 30 January.

The modelo 130 is filed between 1 and 20 of April, July and October for the first three quarters, and the fourth-quarter one between 1 and 30 January of the following year.

See the instructions for modelo 303 and modelo 130 for your case.

A general AI or a connected gestoría with AI: what changes

Connecting your AI to a tool solves the data problem, but not the responsibility one. With a general AI, you decide, calculate and file. With a gestoría that offers MCP, your AI reads and prepares from real records and the gestoría's people review and file what is included.

QuestionGeneral AI, not connectedAI connected to a gestoría
Where does the data come from?From what you pasteFrom your company's records
Who reviews the result?YouYou and the gestoría's professionals
Who files with the AEAT?You, on your ownA gestor, with their representation
What proof is left?NoneThe AEAT receipt
Who answers for a mistake?Nobody, except youAsk what the gestoría takes on

If you want to see how a gestoría that works online operates, read online gestoría for freelancers.

Security when doing taxes with AI: what to watch

An MCP server can read your data and, if you let it, change it. ChatGPT's documentation warns that a malicious server can exfiltrate data from everything that enters the model's context and that it can change the behaviour of its tools without notice. Claude's warns about the hidden instructions a malicious server can include. These habits reduce the risk:

Three groups of security habits when connecting an AI: choose the server and company well, limit what it shares and can change, and review and disconnect when you do not use it.(opens the image in a new tab)
Before and after connecting your AI

At Melso, a connection acts for one person in the company you choose when authorising and the server checks access on every call. You can see the connections and disconnect them from the MCP settings in the app, and access ends at once.

Common mistakes when doing taxes with AI

  • Trusting a figure with no source. Ask for the source and check it against the AEAT.
  • Pasting sensitive documents into any chat. Use a connection with permissions instead of pasting data.
  • Assuming the AI is enough. A gestor files and the AEAT receipt proves it.
  • Not checking the connected company. Each connection works with a single company.
  • Skipping the read-only test. It is the quick way to see which tools are there.
  • Forgetting that the rules change. A recent urgent rule is pending validation.

How Melso helps

Melso is your online gestoría: an AI agent on WhatsApp and your team of gestores, who prepare and file your quarterly returns and your Renta according to your activity and tax profile. You can connect your own AI through MCP to read your expenses and prepare invoices.

Pro costs €49 a month or €490 a year, with no lock-in. See quarterly returns with Melso and the prices, and get started at melso.ai or chat on WhatsApp.

This article is for information only and does not replace professional advice for your case. Last reviewed: 4 December 2026.

Sources

  1. What is the Model Context Protocol (MCP)?, Model Context Protocol (accessed )
  2. MCP servers (OpenAI), OpenAI (accessed )
  3. Add custom MCP server (OpenAI), OpenAI (accessed )
  4. Get started with custom connectors using remote MCP (Claude Help Center), Anthropic (accessed )
  5. Melso documentation index, Melso (accessed )
  6. Permissions (Melso MCP), Melso (accessed )
  7. MCP for procedures with the tax agency, Melso (accessed )
  8. Modelo 303. VAT. Self-assessment. 2026 instructions, AEAT (accessed )
  9. Modelo 130. Income tax. Instalment payment. Instructions, AEAT (accessed )
  10. Royal Decree-law 43/2026 of 24 November, BOE (accessed )
  11. Filing of returns by social collaborators, AEAT (accessed )
Back to top

Frequently asked questions. What people ask us most.

You can use ChatGPT to understand concepts, sort your invoices and prepare questions for your gestor, but not to file or pay a return. A language model can be wrong or out of date, and it does not have your real data unless you give it or connect it to a reliable source. Always check the figures against the AEAT or with a professional.

Illustration of a receipt and a table of income tax deductions.

Taxes and income tax

Tax deductions in Spain 2026: what you can claim

Spanish income tax deductions for tax year 2026, filed in 2027: home, the new state rent deduction, motherhood, family, donations, energy works, electric cars, solar self-consumption and regional ones, what ends on 31 December, and a worked example.

13 min read

Less paperwork.
More time for you.

Start with Melso or tell us about your case on WhatsApp.

Chat on WhatsApp (opens in a new tab)
  • No lock-in
  • Real professionals
  • Mistakes covered