FinCal MCP server for AI agents
Give Claude Code, or any MCP-capable assistant, direct tools for market holidays, early closes, business days, settlement dates and operating cut-offs. Server address:
https://mcp.fincalapi.com/mcp
1. Get a free API key
Sign up at fincalapi.com/dashboard/login with your email address, then create a key on the dashboard. The key is shown once, so copy it; if you lose it, create a new one. The server passes your key through to the FinCal API, so your plan and limits apply. Every tool works with a free key today; if a feature ever needs a paid plan, the tool tells you which. Without a key only the no-key tools work (announcements, plans, how_to_use).
2. Add it to Claude Code
Replace the whole placeholder <your FinCal API key>, angle brackets and all, with your real key. The key looks like fincal_live_ followed by 32 characters.
This project only:
Every project on this machine:
Then start a new Claude Code session, run /mcp to confirm fincal is connected, and ask: what kind of day is it for NYSE and SIFMA-US?
Tools load when a session starts. After adding the server, start a new session, or run claude --continue to keep your current conversation, then run /mcp to confirm fincal is connected.
claude mcp add saves the header in Claude Code's configuration file (~/.claude.json), so treat the key as stored on that machine. Create a key just for this so you can revoke it on its own, or use the next option to keep it out of any file.
Keep the key out of files: a committed .mcp.json
Put this in your project's .mcp.json and set the FINCAL_API_KEY environment variable in your shell (or your scheduler's job environment). Claude Code expands ${VAR} in url and headers, so the key itself is never in the file. The project's servers ask for approval the first time.
Other MCP clients
Clients that accept a remote (Streamable HTTP) URL with headers use a block like this. Field names vary by client, so check its documentation.
Tools
| Tool | What it does |
|---|---|
market_day_context | Start here: open, closed or early close for one or more markets, with close times and a plain-language line per market |
is_open | Is the market trading on a date (early closes count as open) |
day_status | Full status of one date on one calendar: open, holiday, early close, close time, settlement day |
next_business_day | The next business day after a date |
previous_business_day | The business day before a date |
settlement_date | T+N settlement date, skipping weekends, holidays and non-settlement days |
holidays_range | Closures and early closes between two dates |
upcoming | Upcoming holidays and early closes |
cutoffs | Fedwire, FedACH, DTC, NSCC, FICC, CME Globex and BrokerTec operating cut-offs |
announcements | No key needed: recent data corrections and updates |
plans | No key needed: plans and prices |
how_to_use | No key needed: the full guide for agents |
market_day_context never guesses: a close time that is not sourced is reported as unknown. If a call needs a plan the key does not have, the tool says which feature and links to plans.
For agents and developers
- Guide with field meanings and traps: /llms-full.txt (short index: /llms.txt)
- OpenAPI 3.1 for the REST API: /openapi.json
- Plans and prices as data: /v1/plans
- Operational status: /status