About
Applies to: Margins.
Using Finaloop Accounting or InventoryIQ? See Connect Finaloop to your AI tools.
Margins, Finaloop's performance analytics product, connects to AI tools like Claude, ChatGPT and Gemini through the Margins MCP (Model Context Protocol, a secure connection between Margins and AI tools), so you can ask anything about your sales, margins, cash, ad spend, expenses and inventory the same way you'd ask a teammate.
Once you're connected, you can:
Ask questions about your sales, margins, cash, ad spend and expenses, and get a plain-English answer.
Create, categorize and send bills and invoices.
Build workflows into and out of Margins: a weekly cash summary posted to Slack, your numbers feeding a forecast, or anything else your tools can do.
Build dashboards, like return on ad spend (ROAS) and ad spend, contribution margin per SKU, or vendor spend.
We're improving the Margins MCP all the time, and what you tell us shapes where it goes next. Let us know what worked, what didn't, and what you wish it could do at [email protected].
Who can connect: every Margins team member is an Admin, so anyone on your team can connect. Your company needs an active subscription or trial.
You can also start from the app: open the Connect AI page, where See instructions opens these setup steps.
1. Connect Margins to Claude
The quickest way is to add Margins from Claude's connector directory. Margins is listed there, so there's no address to copy.
Claude.ai (web) and Claude Desktop (Mac/Windows)
Go to Customize → Connectors, or open claude.ai/customize/connectors directly. In the Desktop app, open the same page from Customize.
Click + Add and select Browse connectors. Sign in to Claude first if you're prompted.
① Browse connectors.
Search for Margins, then click the + next to the Margins connector.
① The Margins connector, ② the + button.
A Margins window opens. If you're already logged in to Margins in that browser, it connects right away. If not, click Log in next to Have an account? and use the same email and password (or Continue with Google) you use for the Margins app. Don't create a new account.
Click Allow to give Claude access to your Margins data.
Open any chat in Claude and start asking questions about your business.
Note: On a Claude Team or Enterprise plan, an owner first adds the connector under Organization settings → Connectors. Members then find it under Customize → Connectors and click Connect.
Don't see Margins in the directory?
Some Claude accounts can't browse the directory. Add Margins as a custom connector instead:
In Customize → Connectors, click + Add and select Add custom connector.
In the name field, enter a name such as My Margins MCP.
In the remote MCP server URL field, paste this address:
https://mcp.finaloop.comClick Continue.
① The name field, ② the remote MCP server URL field, ③ Continue.
Leave the settings Claude detects as they are and click Continue.
Click Add.
Sign in with your Margins account when the window opens.
Margins now shows as connected under Customize → Connectors.
Claude offers custom connectors on its Free, Pro, Max, Ultra, Team and Enterprise plans. A Free plan allows one custom connector.
Claude Mobile (iOS / Android)
Connectors are shared across your Claude apps: add Margins once on claude.ai (or Desktop) and it's available on your phone too. Or add it from the phone:
Tap the menu icon, then Settings, and under Customize tap Connectors.
Tap Add, then Browse connectors, and search for Margins.
Tap the + next to the Margins connector, sign in with your Margins account and tap Allow.
Start a new chat and ask your first question.
Claude Code
Claude Code is the command-line version of Claude, used mostly by developers. If you're not sure, use the Claude.ai (web) steps instead.
In your terminal, run:
claude mcp add --transport http margins https://mcp.finaloop.comOpen Claude Code, type
/mcp, select margins, and choose Authenticate. Your browser will open: sign in with your Margins account.That's it.
/mcpshould now show the connector as connected. Ask your first question right in Claude Code.
Let Claude read your Margins data without asking every time
Once connected, open Customize → Connectors, select your Margins connector and find Tool permissions. Set the Read-only tools group to Always allow. One setting covers Claude everywhere: web, desktop, and mobile. Claude Code is the exception: it asks in the terminal instead, so choose the don't-ask-again option there for the read tools.
These are the tools that only look things up: your sales, margins, cash, expenses and inventory, and the searches behind them. Allowing them once means Claude answers your questions straight away instead of pausing for approval on every step.
① The Read-only tools group, ② Always allow, ③ Needs approval.
Important: Leave every tool that creates, updates, categorizes, matches or sends something, including Send invoice, on Needs approval, so nothing goes out to a customer without you seeing it first.
2. Connect Margins to ChatGPT
You add Margins to ChatGPT on the web as a custom MCP server, which ChatGPT saves as a plugin. Whether you can add one depends on your ChatGPT plan and workspace settings.
Go to chatgpt.com/plugins.
Click the + button and select Add custom MCP server.
Enter the following details:
Name: a recognizable name, for example My Margins MCP.
Description: optional.
Connection: choose Server URL and paste this address:
https://mcp.finaloop.comUnder Authentication, select OAuth.
Review the risk warning and select I understand and want to continue. ChatGPT shows this standard warning for every custom MCP server; it isn't specific to Margins.
Click Create as a plugin.
① Server URL, ② Authentication set to OAuth, ③ I understand and want to continue, ④ Create as a plugin.
When ChatGPT asks you to sign in, follow the authentication flow and grant ChatGPT permission to access Margins. Sign in with your Margins account: use the same email and password (or Continue with Google) you use for the Margins app. Don't create a new account.
Open your plugins at chatgpt.com/plugins?view=personal, open your Margins plugin, and click + to install it.
Start a new chat, type
@in the message box, select your Margins plugin, and ask your question.
ChatGPT asks you to confirm each change Margins would make, like creating a bill or sending an invoice, before it runs.
3. Connect Margins to Gemini
You can add Margins to Gemini as a custom app from the Gemini web app at gemini.google.com. Google limits custom apps to certain accounts, so check you have all of these first:
A personal Google Account, and you're 18 or older. Work and school (Google Workspace) accounts can't add custom apps.
You're in the US, with Gemini set to English.
Keep Activity is turned on in your Gemini settings. Gemini can't connect to apps while it's off.
Go to gemini.google.com and sign in with your personal Google Account.
Open the menu, then go to Settings → Connected Apps. On some accounts it's under Personal Intelligence → Connected Apps.
Under Custom apps, click Add a custom app.
Under Choose setup method, select Cloud MCP.
In the Add a custom app link field, copy and paste this address, and leave Advanced Settings as it is:
https://mcp.finaloop.comClick Next. Gemini shows a notice under About custom connected apps for every custom app that Google hasn't reviewed; it isn't specific to Margins.
A sign-in window will open. Use the same email and password you use for the Margins app.
Open any chat in Gemini and start asking questions about your business.
4. Connect other AI tools
Other AI tools that support remote MCP servers with OAuth sign-in can connect with the same address, including Cursor, Codex, Perplexity, Raycast and Slack. Add Margins as a custom or remote MCP server in that tool, paste https://mcp.finaloop.com, and sign in when asked.
Margins only accepts sign-ins from AI tools it has approved. If your tool's sign-in fails with an error about the redirect address, email [email protected] with the tool's name and we'll look at adding it.
5. Your first question
Once connected, paste this into any chat to make sure everything works:
Show me sales, net sales and gross margin over the last 90 days, broken down by sales channel.
You'll see your sales and margins for the last 90 days, split by channel.
Back in the app, the Connect AI page now shows MCP connected, and See AI Tools takes you to starter prompts.
6. Troubleshooting
Sign-in error?
Make sure you're signing in with the email linked to your active Margins account. You can check at margins.finaloop.com.
Connection not working?
Remove the Margins connector in your AI tool's settings, add it again, and restart the app. For more fixes, see AI tools with Finaloop: common issues and fixes.
How do I disconnect?
Remove the Margins connector in your AI tool's settings (in Claude, open the connector and click Disconnect). To fully revoke access, email [email protected].
Related articles
Need help?
Email us at [email protected] and we'll help you get connected.





