Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’° Finance & Fintech
  3. Freeagent Mcp Server
F
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:09:53 AM

Freeagent Mcp Server

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

FreeAgent accounting MCP: bank reconciliation, expenses, mileage claims and receipts.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "freeagent-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "freeagent-mcp-server"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’° More in Finance & Fintech

Documentation Overview

FreeAgent MCP Server

A Model Context Protocol server for FreeAgent accounting. Gives Claude (or any MCP client) the ability to reconcile bank transactions with receipts, claim expenses and mileage, raise and chase invoices, record supplier bills, log time against projects, and read the company's financial position.

What access this server requires

FreeAgent

The FreeAgent OAuth credentials grant full access to the connected FreeAgent account. This server uses that access to:

ActionTools that use it
Read bank accountsfreeagent_list_bank_accounts
Read bank transactions and explanationsfreeagent_list_transactions
Update transaction explanations (category, description, approval, attachments)freeagent_explain_transaction
Create expense claimsfreeagent_create_expense, freeagent_create_mileage_expense
Read the chart of accounts and projectsfreeagent_list_categories, freeagent_list_projects
Read and create contactsfreeagent_list_contacts, freeagent_create_contact
Read, raise and change the status of invoicesfreeagent_list_invoices, freeagent_get_invoice, freeagent_create_invoice, freeagent_update_invoice_status
Read and record supplier billsfreeagent_list_bills, freeagent_create_bill
Read and log time against project tasksfreeagent_list_tasks, freeagent_create_task, freeagent_list_timeslips, freeagent_create_timeslip
Read accounting reportsfreeagent_profit_and_loss, freeagent_trial_balance, freeagent_aged_debtors, freeagent_aged_creditors, freeagent_tax_timeline, freeagent_company_summary
Delete invoices, bills and timeslipsfreeagent_delete_invoice, freeagent_delete_bill, freeagent_delete_timeslip

FreeAgent does not offer granular OAuth scopes β€” authorising an app grants access to all of the above.

Destructive operations. The delete tools are flagged destructiveHint: true so your MCP client can prompt before running them, as is freeagent_update_invoice_status (its mark_as_cancelled transition voids an issued invoice). The server never deletes bank transactions or contacts, and never emails anything to your clients β€” status transitions change status only.

Outbound fetches. freeagent_explain_transaction accepts a fileUrl to download a receipt. That URL is treated as untrusted input: only http/https are allowed, hosts resolving to loopback, link-local, or private addresses are refused (on the initial request and on every redirect), and downloads are capped at 10 MB.

Truncation. List tools page through results and report mayHaveMore; when true, any total they return covers only the records fetched and is named totalOutstandingForReturned. The freeagent_aged_debtors and freeagent_aged_creditors reports page to exhaustion and return complete: true β€” treat complete: false as an incomplete figure. Records whose due date is missing or unparseable are counted in a separate unknown_due_date bucket rather than being assumed not yet due.

Email and file sources (external β€” not provided by this server)

This server has no email tools. For receipt/invoice search to work automatically, connect one or more of the following MCP servers alongside this one:

  • Gmail (e.g. mcp__claude_ai_Gmail) β€” personal email
  • Microsoft 365 / Outlook (e.g. mcp__claude_ai_microsoft-365) β€” business email

When both are connected, Claude will search all of them automatically for matching receipts before asking you to provide a file manually.


Tools

Banking and expenses

ToolDescription
freeagent_list_bank_accountsList all bank accounts and their IDs
freeagent_list_transactionsList transactions (unexplained / explained / all / marked_for_review) with date filters
freeagent_explain_transactionUpdate, approve or attach a receipt to a transaction explanation
freeagent_list_categoriesList the full chart of accounts β€” all four category groups
freeagent_list_projectsList projects, for tagging expenses, invoices, bills and time
freeagent_create_expenseCreate an expense claim with optional receipt attachment, project tag and bank-transaction auto-matching
freeagent_create_mileage_expenseCreate a mileage claim; FreeAgent calculates the value from the account's mileage rate

Contacts, invoicing and bills

ToolDescription
freeagent_list_contactsList clients and suppliers, with an optional name/email filter
freeagent_create_contactCreate a client or supplier
freeagent_list_invoicesList invoices by view (overdue, open_or_overdue, draft, paid…) with the total outstanding
freeagent_get_invoiceFetch one invoice in full, including line items
freeagent_create_invoiceRaise an invoice with line items β€” always created as a draft
freeagent_update_invoice_statusMark an invoice as sent, draft, scheduled or cancelled (no email is sent)
freeagent_delete_invoiceDelete an invoice
freeagent_list_billsList supplier bills with the total outstanding
freeagent_create_billRecord a supplier bill, with optional PDF attachment and project allocation
freeagent_delete_billDelete a bill

Time tracking

ToolDescription
freeagent_list_tasksList project tasks (time is always logged against a task)
freeagent_create_taskCreate a project task with its billing rate
freeagent_list_timeslipsList logged time for a date range, with totals per project; view: "unbilled" finds uninvoiced work
freeagent_create_timeslipLog time against a project task
freeagent_delete_timeslipDelete a timeslip

Reporting

ToolDescription
freeagent_profit_and_lossIncome, expenses, operating profit, corporation tax estimate and retained profit
freeagent_trial_balanceBalance on every nominal account
freeagent_aged_debtorsUnpaid customer invoices bucketed by age (not yet due, 1–30, 31–60, 61–90, 90+ days)
freeagent_aged_creditorsUnpaid supplier bills bucketed by age
freeagent_tax_timelineUpcoming VAT, corporation tax and Companies House deadlines with amounts due
freeagent_company_summaryCompany details, VAT registration and accounting year end

Prerequisites

FreeAgent OAuth credentials

  1. Log in to FreeAgent β†’ Settings β†’ Developer API.
  2. Create an OAuth application. Set the redirect URI to http://localhost:8080/callback.
  3. Note your Client ID and Client Secret.
  4. Run the bundled auth command to complete the OAuth flow and save a refresh token to .mcp.json automatically:
Terminal
npx @oxygenbubbles/freeagent-mcp-server auth

The command prompts for your Client ID and Client Secret, opens the FreeAgent authorization page in your browser, listens for the callback, exchanges the code for a long-lived refresh token, and writes everything to .mcp.json in the current directory. If .mcp.json already exists, it updates just the freeagent entry.


Installation

bash
git clone https://github.com/OxygenBubbles/freeagent-mcp-server.git
cd freeagent-mcp-server
npm install
npm run build

Configuration

All settings are read from environment variables.

Required

VariableDescription
FREEAGENT_CLIENT_IDOAuth client ID
FREEAGENT_CLIENT_SECRETOAuth client secret
FREEAGENT_REFRESH_TOKENLong-lived refresh token

Optional

VariableDescription
VENDOR_CATEGORIESJSON object extending the built-in vendor β†’ category mapping (see below)
MILEAGE_CATEGORY_URLFreeAgent category URL for mileage expenses (default /v2/categories/249, the standard Mileage category)
MILEAGE_RATE_PENCEFixed pence-per-mile rate used for the advisory estimate (FreeAgent still calculates the filed amount)
HMRC_RATE_HIGH_PENCEHMRC high-band rate in pence for the advisory estimate (default 45)
HMRC_RATE_LOW_PENCEHMRC low-band rate in pence for the advisory estimate (default 25)
HMRC_THRESHOLD_MILESMiles per tax year before the low band kicks in (default 10000)
ORS_API_KEYOpenRouteService API key for drive-distance lookups
GOOGLE_MAPS_API_KEYGoogle Maps API key for drive-distance lookups (alternative to ORS)
PORTIf set, serves over HTTP on this port instead of stdio
AUTH_TOKENBearer token required on every HTTP request. Strongly recommended whenever PORT is set
FREEAGENT_DEBUGSet to 1 to log every request and error response to stderr. Tokens, credentials and file payloads are redacted

Built-in vendor β†’ category mappings

The server ships with mappings for common vendors, using FreeAgent's standard UK nominal codes:

  • Web Hosting (268) β€” IONOS, AWS, Netlify, Vercel, Heroku, DigitalOcean, Cloudflare
  • Computer Software (269) β€” OpenAI, Anthropic, GitHub, Stripe, Google, Microsoft, Zoom, Notion, Dropbox, Slack, Adobe, Fastmail, Mailchimp
  • Accommodation and Meals (285) β€” Booking.com, Hotels.com, Premier Inn, Travelodge, Airbnb
  • Travel (365) β€” Trainline, LNER, Uber

Check these against your own chart of accounts with freeagent_list_categories β€” nominal codes can be customised per account. Override or extend via VENDOR_CATEGORIES:

bash
VENDOR_CATEGORIES='{"ACME CORP":"/v2/categories/285","NETFLIX":"/v2/categories/269"}'

Claude Desktop setup

Add to claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "freeagent": {
      "command": "node",
      "args": ["/path/to/freeagent-mcp-server/dist/index.js"],
      "env": {
        "FREEAGENT_CLIENT_ID": "...",
        "FREEAGENT_CLIENT_SECRET": "...",
        "FREEAGENT_REFRESH_TOKEN": "..."
      }
    }
  }
}

Usage examples

Code
List my unexplained Starling transactions for April 2026

Approve explanation 12345678 and attach the base64 receipt

Create an expense for the Β£22.80 IONOS charge on 3 April β€” here's the PDF: <base64>

Log 24 miles for a client visit from the office to a customer site on 10 April

Mileage rates

Mileage is a special FreeAgent category: you submit the miles and vehicle type, and FreeAgent calculates the claim value from the mileage rate configured on the account. That figure is what appears in your accounts and HMRC reporting, so the server does not attempt to override it.

ratePence, MILEAGE_RATE_PENCE, cumulativeMilesYTD and the HMRC_* variables produce an advisory estimate returned alongside the filed amount. When the two differ, the response says so:

FreeAgent filed Β£46.20 using the mileage rate configured on the account; the estimate from 84 miles @ 45p/mile (HMRC) was Β£37.80.

That is a useful check: HMRC's approved rates are 45p/mile for the first 10,000 business miles in the tax year and 25p above it, and anything paid above the approved rate is a taxable benefit. If the two figures disagree, check the mileage rate in your FreeAgent settings.


Development

Terminal
npm run dev        # watch mode (tsx)
npm run build      # compile TypeScript β†’ dist/
npm start          # run compiled server
npm test           # run unit tests once
npm run test:watch # watch mode for tests

Claude Code setup

Create .mcp.json in your project directory (or ~/.mcp.json for global access):

config.json
{
  "mcpServers": {
    "freeagent": {
      "command": "node",
      "args": ["/path/to/freeagent-mcp-server/dist/index.js"],
      "env": {
        "FREEAGENT_CLIENT_ID": "...",
        "FREEAGENT_CLIENT_SECRET": "...",
        "FREEAGENT_REFRESH_TOKEN": "..."
      }
    }
  }
}

HTTP mode

Set PORT to run as an HTTP server (for webhooks, iPhone Shortcuts, Power Automate):

bash
PORT=3000 AUTH_TOKEN=a-long-random-string node dist/index.js

Always set AUTH_TOKEN when exposing HTTP mode β€” every request must include Authorization: Bearer <AUTH_TOKEN> or it is rejected with 401. Without AUTH_TOKEN the server starts anyway but prints a warning to stderr and accepts all requests; only do that on a trusted loopback interface.


Security

  • Credentials are environment variables, never in code
  • FreeAgent tokens are cached in memory and refreshed automatically
  • Transactions are never approved without a confirmed receipt or explicit instruction
  • The server never creates new categories β€” only selects from existing ones
  • .mcp.json is excluded from git via .gitignore

Licence

MIT

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Mcp logoMcp

    Apideck Unified API MCP β€” 229 tools across 200+ SaaS connectors (accounting, HRIS, file storage).

    πŸ’° Finance & Fintech0 views
    Compare vs Mcp β†’
  • Plugin logoPlugin

    Circulara Observe MCP plugin - meters your AI agents' token spend and carbon, free tier.

    πŸ’° Finance & Fintech0 views
    Compare vs Plugin β†’
  • R
    Ref Tools Ref Tools Mcp

    Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…

    πŸ’° Finance & Fintech0 views
    Compare vs Ref Tools Ref Tools Mcp β†’
  • A
    AllPDFMagic

    PDF tools + invoice extraction, bank statement parsing, GST reconciliation & GSTIN validation.

    πŸ’° Finance & Fintech0 views
    Compare vs AllPDFMagic β†’

Frequently Asked Questions about Freeagent Mcp Server

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "freeagent-mcp-server": { "command": "npx", "args": ["-y", "freeagent-mcp-server"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFreeagent Mcp Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/freeagent-mcp-server?style=directory)](https://allmcps.com/mcp/freeagent-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/freeagent-mcp-server"><img src="https://allmcps.com/api/badge/freeagent-mcp-server?style=directory" alt="Freeagent Mcp Server on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’°Finance & Fintech
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’° Finance & Fintech β†’Best MCP servers for Finance & Fintech β†’Alternatives to Freeagent Mcp Server β†’Install in Claude DesktopInstall in CursorInstall in VS Code