Connect Franklin to ChatGPT (MCP)
Ask ChatGPT about your transactions through Franklin's MCP server.
Before you start
Connecting Franklin to ChatGPT lets you ask about your card transactions, right in the ChatGPT desktop app. It uses Franklin’s MCP server.
You need:
The ChatGPT desktop app on your computer. It works on the free ChatGPT plan too. Use the desktop app, not chatgpt.com in your browser.
A Franklin login.
Quick answers
Question | Answer |
|---|---|
MCP server URL |
|
Where it works | The ChatGPT desktop app. Codex CLI and the Codex code editor extension can use it too |
How it authenticates | You sign in with your Franklin login. An API key also works (see the alternative below) |
Several companies | One sign-in covers every company you have access to |
Full API reference |
Step 1: Add Franklin in the ChatGPT desktop app
Click your name at the bottom left and choose Settings. On a Mac you can also press ⌘,.
Under Integrations, open Plugins and choose the MCPs tab.
Click Add server. On some versions the button is called Add and sits at the top of the page.
Name it franklin, choose Streamable HTTP as the type and paste the URL
https://api.hifranklin.com/mcp. Leave Headers empty.Click Save.


Step 2: Sign in to Franklin
Next to franklin, click Authenticate.
Log in to Franklin in your browser and click Approve connection. Access covers all your eligible companies and lasts 180 days. Signing out of Franklin doesn’t disconnect it.
Back in the app, the Authenticate button is gone and Franklin is ready.

Good to know: The connection works in the ChatGPT desktop app on the computer where you set it up.
Step 3: Check that it works
Start a new chat and ask something like “Which of my transactions from the last 7 days are missing a receipt?” If ChatGPT asks for permission to use Franklin, allow it. When it fetches your data, the answer shows Used Franklin integration.

Working with several companies
One sign-in covers all your companies. Mention the company in your request so ChatGPT uses the right one.
Try it
Ask something like:
“Which transactions from the last 30 days are missing a receipt?”
“Do any suppliers look like they charged us twice this month?”
“Which suppliers did we spend the most with last month?”
What ChatGPT can do: see which companies you have access to, list and read your transactions, attach receipts to a transaction, list and download the receipts already attached, set the note and bookkeeping account, and show your balance. Setting the note and account needs an accounting system connected under Bookkeeping → Connections; without one, receipts you attach go to your File archive.
What it cannot do yet: set the VAT code on a transaction, see transactions older than 90 days or hidden in the app, or see cards or top-ups. ChatGPT never moves money and never sees full card numbers.
Alternative: API key
Prefer an API key, or using Codex CLI? Create a key in Franklin and send it as a header instead of signing in.
In Franklin, go to Settings → API keys and click Create API key. Give the key a name, click Continue and verify your identity with the one-time code from your email or authenticator app.
Copy the key and keep it somewhere safe. It is shown only once: after you close the dialog, you cannot view it again.
In the Add server form, add a header with Authorization as the key and
Bearer YOUR_API_KEYas the value. Type Bearer, one space, then the key, with no quotes or spaces after it.



Each key is personal and belongs to one company, so you need one key and one server per company. Keys expire automatically 180 days after you create them, and you can have up to 10 active keys per company.
For Codex CLI or the Codex code editor extension, add Franklin to the file .codex/config.toml in your home folder instead:
Save the file and restart the app. On a Mac you can open the file by running open -e ~/.codex/config.toml in Terminal.
ChatGPT on the web and on your phone
This guide covers the ChatGPT desktop app. On chatgpt.com, custom servers like Franklin can only be added on ChatGPT Business, Enterprise and Edu plans, and not from the ChatGPT mobile app.
Troubleshooting and security
Problem | What to do |
|---|---|
No MCPs tab under Plugins | Check you’re in the ChatGPT desktop app, not chatgpt.com in your browser |
Franklin isn’t listed under Servers | Add it again under Settings → Plugins → MCPs, and check the type is Streamable HTTP |
Franklin is listed but can’t connect | Click Authenticate and log in to Franklin again. With an API key, check the header reads Bearer, one space, then the key, with nothing after it |
It stopped working after a while | Sign-in access lasts 180 days, so click Authenticate and approve again. Also check that you still have access to the company |
Keep keys secret. If you use an API key, treat it like a password and never paste it into a chat. If a key is lost or shared, revoke it under Settings → API keys in Franklin and create a new one.
Disconnect anytime. Switch Franklin off or remove it under Settings → Plugins → MCPs in ChatGPT.
Still stuck? Contact Franklin support and tell us which app you used.


