Use Claude Code with FileMaker
Claude Code is Anthropic's command-line tool. With your FileMaker file added as an MCP server, you can ask it questions about live FileMaker data from the terminal: "which orders shipped late this month", "show me customer 4412". Ailimu is the MCP server in the middle. It starts read-only, and you choose which tables and fields Claude Code can see.
What you need
- Ailimu running and connected to your FileMaker file. If you have not done that yet, follow Connect Claude to your FileMaker data first. It takes about ten minutes.
- Claude Code installed on the computer you will use it from.
- The connection's address and key. The last wizard step, Connect Claude, shows them for your connection.
1. Add the server
Run this once, with your own address and key:
claude mcp add --transport http sales http://your-server:8081/mcp/sales \
-H "Authorization: Bearer YOUR-KEY"
sales is just a name for this connection. Use one that tells you which file it
is. Open the wizard at your server's name or address rather than localhost if
Claude Code runs on a different computer, so the command carries an address that
computer can reach.
2. Check it is connected
claude mcp list
Your connection should be listed. Inside a Claude Code session, the /mcp
command shows the same list and lets you see the tools the server offers.
3. Ask
Start Claude Code and ask something only your data can answer:
Which trade customers have overdue invoices, and how much do they owe?
Claude Code picks the tools that answer it, calls them against your server, and replies. Every change it makes, and every script it runs, appears in Activity in the Ailimu wizard, and reads do too if an owner has switched that on.
What you will see
Type /mcp inside Claude Code and open the connection to see its tools. For each
table you published there are up to three, named after the table:
find_invoicessearches the table by the fields you allowed.get_invoicesfetches one record by its ID.describe_invoicestells Claude what the table holds and what each field is.
A table you allowed changes on also gets update_invoices, which changes one record
at a time. Claude Code asks before it uses a tool, so you can approve each use or
allow the connection's tools in Claude Code's permission settings.
Where the connection is saved
claude mcp add can save the connection in three places, chosen with --scope:
- local (the default) keeps it private to you, in the current project.
- user makes it available in every project on your computer.
- project writes it to a
.mcp.jsonfile in the project, which is meant to be shared through version control.
Do not use project scope for this connection. The command carries your key, and a shared file would put it in the repository. Use local or user, and give each person their own key.
Make it better with a note
Claude Code reads a CLAUDE.md file in your project for standing instructions. A
few lines about the connection save a lot of guessing:
The `sales` MCP server is our FileMaker order system.
- An invoice is overdue when payment_status is "Overdue".
- Amounts are in pounds, and the customer ID is the key to join on.
What developers use it for
- Checking real data while you work. "Look at invoice INV-70114. Why does its total not match its lines?"
- Writing against the real schema. "Describe the Invoices table, then write a FileMaker script that finds every overdue one."
- Spot-checking after a change. "Count the orders placed today and show any with an empty customer."
If it does not connect
If claude mcp list shows the connection as failed:
- Check the address. If Claude Code runs on another computer,
localhostwill not do: use the server's name or LAN address, and make sure the port (8081 by default) is reachable from there. - Check the key belongs to this connection. Each connection has its own key, and another connection's key will not open it.
- Check for a proxy. If you put Ailimu behind HTTPS, the address in the
command must start with
https://. - Open the address in a browser.
/healthzon the server should answer.
Keeping it safe
- Read-only by default. Claude Code can look things up but not change records until you turn editing on for a table.
- Field by field. Fields you did not choose are not visible to it.
- Access can be taken away. To stop one person, untick the connection for them
or remove them in the wizard, and their personal key stops working at once. To
remove the server from your own computer, run
claude mcp remove sales.
More on the controls in Give your team AI access to FileMaker, safely.