by imetn
Track subscription charges, shared payments, prepaid balances, and multi‑currency financial data on a self‑hosted AI‑native ledger.
Calends provides a private ledger for all recurring expenses, shared plans, prepaid credits, and multi‑currency transactions. It combines subscription tracking, usage metering, and AI‑driven querying behind a single‑owner, self‑hosted service.
docker compose up -d. A one‑line installer is also available for Debian/Ubuntu.SETUP_TOKEN displayed in logs, and set an admin password./connect page and use it with MCP‑compatible clients (Claude, Codex, etc.).Q: How do I add a new subscription? A: Open the web UI, click "Add Subscription", fill in name, price, currency, billing cycle, and optional usage meter, then save.
Q: Can I host Calends on my own server without Cloudflare?
A: Yes. Use the Docker compose file (compose.prebuilt.yml) or the one‑line installer for Debian/Ubuntu. The service runs on port 8787 by default.
Q: How is AI access secured?
A: Generate scoped tokens on the /connect page. Tokens can be read‑only or read/write, and every write operation supports a dry_run preview. Tokens are transmitted via Authorization: Bearer <token> headers.
Q: What backup options are available? A: Encrypted backups can be stored in any S3‑compatible bucket or WebDAV server. Encryption uses a passphrase you provide; retention and rolling policies are configurable.
Q: Does Calends send any personal data? A: Only anonymous usage statistics (install ID, version, deployment type, language, daily event counts) are sent. No subscription names, prices, or personal notes are transmitted.
Q: Which notification channels are supported for renewal reminders? A: Email, Telegram, Lark/Feishu, DingTalk, WeCom, Slack, Discord, Bark, ntfy, ServerChan, and custom webhook URLs.
Track what you pay, when it renews, and who owes you. Calends brings subscriptions, shared plans and prepaid balances into one private, single-owner ledger, with an optional read-only public page and AI access through MCP.
Want a look first? Try the live demo.
Deploy to Cloudflare, add a long random SETUP_TOKEN secret to the Worker, then open its URL, enter the token and set your password. To deploy from source, see the Cloudflare guide.
curl -fsSL https://raw.githubusercontent.com/imetn/calends/main/docker/compose.prebuilt.yml -o compose.yml
docker compose up -d
docker compose logs calends
Open http://localhost:8787/, enter the setup token from the logs and set your password.
On Debian or Ubuntu with systemd:
curl -fsSL https://calends.date/install.sh | sudo bash
Calends starts on 127.0.0.1:8787; point your own reverse proxy at it. Run the same command to upgrade.
For upgrades, HTTPS, configuration and other options, see the self-hosting guide.
Ask “What renews next week?”, “How much did I spend this year?” or “Netflix went up to $17.99 from today.” Calends provides 41 tools over a stateless MCP endpoint at /mcp using Streamable HTTP.
On the AI access page (/connect), create a read-only or read/write token, then connect your client. Opening /mcp in a browser takes you to this page; MCP clients use the /mcp endpoint:
Claude Code
claude mcp add --transport http calends https://your-domain/mcp --header "Authorization: Bearer <token>"
Codex
export CALENDS_TOKEN='<token>'
codex mcp add calends --url https://your-domain/mcp --bearer-token-env-var CALENDS_TOKEN
Keep CALENDS_TOKEN available in the environment that launches Codex. Tools cover subscriptions, spending, trends, receivables and insights, plus changes to prices, plans, status and payments. Every write tool supports dry_run; AI access can be turned off in Settings.
The built-in assistant supports provider presets including DeepSeek, OpenAI, Anthropic, Gemini and Ollama, plus custom OpenAI- and Anthropic-compatible endpoints.
Calends sends anonymous usage statistics once a day to telemetry.calends.date: a random install ID, the app version, how it runs (Cloudflare, Docker/Node or the installer), the interface language and daily counts of app opens, page views, assistant messages and MCP tool calls. It never sends subscription names, prices, payments, notes, account details or anything you type. The counts are sent by your own server; the browser only reports page views to it.
Turn it off under Settings → Anonymous usage stats, or set CALENDS_TELEMETRY=0 (or DO_NOT_TRACK=1) when deploying, which also locks the setting off. Development builds never send.
Bug reports, translations and pull requests are welcome. See CONTRIBUTING.md for local setup, checks and contribution guidelines.
Start with the architecture and code standards before changing a subsystem. Coding agents use AGENTS.md; CLAUDE.md imports the same instructions.
Built with React 19, Vite, HeroUI / React Aria, shadcn/ui and Cloudflare Workers + D1 (SQLite). Billing, exchange rates and other domain logic are shared between the browser and Worker in shared/.
Translations live in shared/locales/<locale>/<namespace>.json, with English and Simplified Chinese as the source languages.
Calends were the first day of every Roman month, when accounts were settled and debts called in. It is also where the word calendar comes from.
Calends is open source under the MIT License; see LICENSE. You may use, modify and redistribute it, including commercially, provided you retain the copyright and license notices in copies or substantial portions of the software. If you fork Calends, please use a distinct name and credit Calends as the upstream source so users can distinguish your version from this project.
The Latin letters and numerals use Xiaomi's MiSans Latin, bundled unmodified in app/public/fonts/ under the MiSans license; it is not covered by the MIT License and may not be modified or redistributed on its own.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by stripe
Provides SDKs and tools to integrate Stripe's billing and API services with large language models, agent frameworks, and token‑metering for AI‑powered products and businesses.
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by openaccountants
Provides open‑source, accountant‑reviewed tax guides that AI models can cite when answering tax‑related queries, ensuring answers are backed by current jurisdictional rules and credited experts.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by letehaha
Track personal finances, manage budgets, sync bank accounts, handle multi‑currency investments, and expose an MCP endpoint for AI agents, all on a self‑hosted or cloud platform.
by twjackysu
Provides real‑time stock quotes, financial statements, ESG data, and advanced market analysis for Taiwan securities markets via a Model Context Protocol server.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by imbenrabi
Provides AI assistants with direct access to Financial Modeling Prep data, including real‑time stock quotes, company fundamentals, financial statements, market indexes, news, and alternative data sets via the Model Context Protocol.