Skip to content
MCPSTAMP

AnswerLive data

Can Claude calculate a 2026 mileage deduction?

It can multiply, but it may use the wrong rate. 2026 has two IRS business rates, 72.5 cents a mile to June 30 and 76 cents from July 1, and the mid-year change came after most models were trained. Medical and charity miles use other rates. Connect the free IRS Mileage Rate and Per Diem server and Claude applies the right rate to each trip by date and purpose, with the IRS notice that sets it.

What Claude does alone, and what needs the server

Claude on its own

  • Explains the standard mileage method and what records to keep.
  • Totals miles from a log you paste.

With the IRS Mileage Rate and Per Diem server

  • The IRS rates for business, medical, charity and moving miles, by date.
  • The July 1, 2026 business rate change (Announcement 2026-11).
  • A line-by-line deduction with the source for each rate.

A real call to the live server

We sent this to the hosted server on 2026-11-03. The answer below is the server's own text, not a mock-up. Live values will differ when you ask.

You ask

Work out my 2026 mileage deduction: 1,240 business miles in March, 85 medical miles in June and 40 charity miles in July.

Tool call

calculate_mileage_deduction {"trips":[{"date":"2026-03-10","miles":1240,"purpose":"business"},{"date":"2026-06-02","miles":85,"purpose":"medical"},{"date":"2026-07-15","miles":40,"purpose":"charity"}]}

Server answer

1240 business miles in Jan. 1 - June 30, 2026 at 72.5 cents = $899.00; 85 medical miles in Jan. 1 - June 30, 2026 at 20.5 cents = $17.43; 40 charity miles in July 1 - Dec. 31, 2026 at 14 cents = $5.60. Total $922.03. 2026 has two business rates: 72.5 cents before July 1 and 76 cents from July 1 (Announcement 2026-11).

Connect it in 1 minute

One URL, no token, no account. In Claude.ai or Claude Desktop open Settings, then Connectors, then Add custom connector, and paste the URL.

Connector URL

https://irs-mileage-rate-per-diem-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http irs-mileage-rate-per-diem https://irs-mileage-rate-per-diem-mcp.lipmichal.workers.dev/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "irs-mileage-rate-per-diem": {
      "url": "https://irs-mileage-rate-per-diem-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "irs-mileage-rate-per-diem": {
      "type": "http",
      "url": "https://irs-mileage-rate-per-diem-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

All 5 tools, sources and more prompts: IRS mileage rate and per diem MCP server · TaxBreakCalc self-employed set-aside calculator

Questions

Can Claude calculate a 2026 mileage deduction?
It can multiply, but it may use the wrong rate. 2026 has two IRS business rates, 72.5 cents a mile to June 30 and 76 cents from July 1, and the mid-year change came after most models were trained. Medical and charity miles use other rates. Connect the free IRS Mileage Rate and Per Diem server and Claude applies the right rate to each trip by date and purpose, with the IRS notice that sets it.
What are the 2026 IRS mileage rates?
Business 72.5 cents to June 30, 2026 and 76 cents from July 1. Medical and moving 20.5 cents, then 23.5 cents from July 1. Charity 14 cents, set by law.
Are the 2027 rates included?
Not yet. The IRS usually announces them in late December, and the server will be updated then.
Is the server free?
Yes. The IRS Mileage Rate and Per Diem server is free at its hosted URL with no token, key or account. The source is open on GitHub.

More questions people ask Claude

All answers · All free servers