Use the Fire Tools API

The Fire Tools desktop app serves a local REST API. Anything on your computer can use it: your own scripts, a spreadsheet, another app, or an AI agent such as GitHub Copilot CLI or Claude Code. Whatever a client writes shows up in the open app within a few seconds, and everything you change in the app is available to clients straight away.

Nothing is uploaded by Fire Tools. If you connect an AI agent, it sends what it reads and what you tell it to its own model provider, so share only what you are comfortable sharing.

Turn on API access

  1. Open the Fire Tools desktop app.
  2. Go to Settings > API access and turn on Allow local API access.

The section then shows everything a client needs:

Only programs on this computer can connect. While access is on, any program running under your user account that has the token can read and change your data, even in an encrypted database. Turn access off when you no longer need it.

Call it from a script

export FIRE_TOOLS_TOKEN='<paste the copied token>'
curl -H "Authorization: Bearer $FIRE_TOOLS_TOKEN" \
  http://127.0.0.1:47820/api/v1/state/netWorth

Add an expense to March 2026:

curl -X POST http://127.0.0.1:47820/api/v1/expense-tracker/expenses \
  -H "Authorization: Bearer $FIRE_TOOLS_TOKEN" -H 'Content-Type: application/json' \
  -d '{"externalId":"script-2026-03-07-cinema","date":"2026-03-07","amount":14,
       "description":"Cinema","category":"LIFESTYLE_LEISURE","expenseType":"WANT"}'

Reading the connection file instead (Python, macOS path):

import json, pathlib, urllib.request

conn = json.loads((pathlib.Path.home() / "Library/Application Support/Fire Tools/local-api.json").read_text())
req = urllib.request.Request(f"{conn['apiBaseUrl']}/sync/status",
                             headers={"Authorization": f"Bearer {conn['token']}"})
print(json.load(urllib.request.urlopen(req)))

The connection file lives in %APPDATA%\Fire Tools\ on Windows and ~/.config/Fire Tools/ on Linux. Every route, request and response is in the API reference; the engineering guide explains how changes sync.

Connect an AI agent

The using-fire-tools skill teaches an agent to use the API safely: check the connection, ask before writing, never reveal the token, and use the right categories. For GitHub Copilot CLI and other agents that read ~/.agents/skills (use ~/.claude/skills for Claude Code):

dir="$HOME/.agents/skills/using-fire-tools"
base="https://fire-tools-inc.synctune.it/agents/using-fire-tools"
mkdir -p "$dir/scripts" "$dir/references"
for f in SKILL.md scripts/fire-tools-api.mjs references/api.md references/data-model.md; do
  curl -fsSL "$base/$f" -o "$dir/$f"
done

The helper script needs Node.js 18 or newer and reads the connection file, so the agent never sees the token. The skill source lives in the repository under .github/skills/using-fire-tools.

Then ask, for example:

The agent shows a summary before it writes anything. Check the Dashboard afterwards; you can edit or delete anything it added like any other entry.

Good to know