home / mcp / freshbooks mcp server
Provides a complete MCP integration with FreshBooks, exposing 87 tools for billing, time tracking, clients, projects, and reporting.
Configuration
View docs{
"mcpServers": {
"good-samaritan-software-llc-freshbooks-mcp": {
"command": "npx",
"args": [
"freshbooks-mcp"
],
"env": {
"FRESHBOOKS_CLIENT_ID": "YOUR_CLIENT_ID",
"FRESHBOOKS_REDIRECT_URI": "https://freshbooks.goodsamsoftware.com/callback",
"FRESHBOOKS_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
}
}
}
}FreshBooks MCP Server provides a complete MCP integration that lets Claude and other MCP-compatible assistants access FreshBooks data and actions. It exposes time tracking, invoicing, expenses, client and project management, financial reports, and secure OAuth2 authentication through a local, developer-friendly interface.
You connect Claude or your MCP client to the FreshBooks MCP Server to perform accounting tasks without leaving your assistant. Start by authenticating with FreshBooks, then perform operations such as logging time, creating invoices, tracking expenses, managing clients and projects, and generating financial reports. Use natural language prompts to drive actions, and leverage the server to fetch current data like time entries, invoices, and bill payments.
Prerequisites you need before installing:
- Node.js and npm installed on your machine
- A FreshBooks developer account to obtain OAuth credentials
- Access to a text editor and terminal/command promptnpm install freshbooks-mcpConfigure your client with the provided MCP server entry to enable local development and OAuth flow.
{
"mcpServers": {
"freshbooks": {
"command": "npx",
"args": ["freshbooks-mcp"],
"env": {
"FRESHBOOKS_CLIENT_ID": "YOUR_CLIENT_ID",
"FRESHBOOKS_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"FRESHBOOKS_REDIRECT_URI": "https://freshbooks.goodsamsoftware.com/callback"
}
}
}
}Follow these steps to obtain your OAuth credentials and connect the MCP server to FreshBooks.
1) Create a new application in the FreshBooks Developer Portal. 2) Note your Client ID and Client Secret. 3) Set the redirect URI to https://freshbooks.goodsamsoftware.com/callback.
Once connected, you can ask the assistant to perform actions such as logging time, starting timers, listing time entries, creating invoices, managing clients or projects, and generating reports. Examples of common prompts include asking for time entry details, starting a timer for a client meeting, creating invoices for a client, or reviewing month-to-date profit and loss.
Authentication uses OAuth2 with access token refresh. The server securely stores tokens and handles token refresh automatically to keep your sessions active.
Check authentication status
Get OAuth authorization URL
Exchange auth code for tokens
Refresh access token
Revoke authentication
List time entries with filters
Get time entry by ID
Create time entry
Update time entry
Delete time entry
Start a timer
Stop timer and log time
Get running timer(s)
Delete timer without logging
List invoices
Get invoice by ID
Create invoice
Update invoice
Delete invoice
List clients
Get client by ID
Create client
Update client
Delete client
List projects
Get project by ID
Create project
Update project
Delete project
List expenses
Get expense by ID
Create expense
Update expense
Delete expense
List bills
Get bill by ID
Create bill
Update bill
Delete bill
List bill payments
Get bill payment
Create bill payment
Update bill payment
Delete bill payment
List vendors
Get vendor by ID
Create vendor
Update vendor
Delete vendor
Create credit notes
Manage expense categories
Product/service catalog
Manual accounting entries
Chart of accounts
Non-invoice income tracking
Invoice payment tracking
Payment gateway settings
Financial reports
Billable service types
Project task management
Current user info
Webhook management