leatherhead-mcp
v1.0.0MCP server that connects your AI assistant to your Leatherhead fire/EMS records — certifications, roster, apparatus, incidents, training, and mutual aid.
Connect your AI assistant to your fire department's Leatherhead records. Once set up, you can ask your assistant things like: It works with any MCP-capable client (Claude Desktop, etc.) over the standard Model Context Protocol. In Leatherhead: Settings → AI & API Access → Generate token.
Summary extracted from the README.
Leatherhead MCP Server
Connect your AI assistant to your fire department's Leatherhead records. Once set up, you can ask your assistant things like:
- "Which SCBA or EMT certs expire in the next 60 days?"
- "Summarize this month's runs."
- "Which apparatus are out of service right now?"
- "Log today's ladder drill — 2 hours." (write access only)
It works with any MCP-capable client (Claude Desktop, etc.) over the standard Model Context Protocol.
1. Get a token
In Leatherhead: Settings → AI & API Access → Generate token.
- Start with a read-only token (recommended). Add write access later if you want the assistant to log training, log incidents, or change apparatus status.
- The full token is shown once — copy it immediately and store it in a password manager.
- You can revoke a token any time from the same screen; the connection stops working instantly.
2. Add it to your AI client
Add this to your client's MCP servers config (Claude Desktop:
claude_desktop_config.json). Replace the token with yours; the URL is your Leatherhead address.
{
"mcpServers": {
"leatherhead": {
"command": "npx",
"args": ["-y", "leatherhead-mcp"],
"env": {
"LEATHERHEAD_TOKEN": "lh_your_token_here",
"LEATHERHEAD_URL": "https://beta.leatherhead.app"
}
}
}
}
During the beta, if the package isn't installed from a registry, point command/args at the
files directly instead:
{
"mcpServers": {
"leatherhead": {
"command": "node",
"args": ["C:/path/to/leatherhead-mcp/index.js"],
"env": {
"LEATHERHEAD_TOKEN": "lh_your_token_here",
"LEATHERHEAD_URL": "https://beta.leatherhead.app"
}
}
}
}
Restart the client. You should see the leatherhead tools become available.
Configuration
| Variable | Required | Default | Notes |
|---|---|---|---|
LEATHERHEAD_TOKEN |
yes | — | Personal Access Token minted in Settings. |
LEATHERHEAD_URL |
no | https://beta.leatherhead.app |
Your Leatherhead API base URL. |
Tools
Read (any token): whoami, department_profile, list_personnel,
expiring_certifications, apparatus_status, list_incidents, list_training,
active_mutual_aid.
Write (read/write token + Officer/Admin role): log_training, log_incident,
set_apparatus_status.
Security model
- The token carries the department (tenant) and role — you can only ever see and touch your own department's data. Isolation is enforced server-side, not in this client.
- Tokens are stored hashed on the server; the raw value is never recoverable after creation.
- A read-only token is refused on every write tool by the server (not just hidden here).
- Revoking a token in Settings takes effect immediately.
Requirements
Node.js 18+.