Habit Pocket
Read and log your habits in Habit Pocket from Claude or ChatGPT: yes/no habits, numbers, times of day and selects, with stats, streaks, charts and day notes. Hosted, OAuth or API key. Tools need the Pro plan.
Hosted MCP Server
npx add-mcp 'https://api.habitpocket.io/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Talk to your habit data
Habit Pocket hosts an MCP server, so you can connect Claude, ChatGPT, or any MCP-capable AI assistant straight to your own habits. Say “log 8 hours of sleep”, ask “do I sleep better on days I run?”, or have it build a chart. Nothing to install, your data stays yours, and it's part of Pro.
5 habits free, forever. No credit card. Your data stays private.
The server
One URL, hosted by us.
There's no bridge to download and no process to keep running. The server lives next to your data and speaks standard MCP over HTTP, so any client that supports remote MCP servers can connect to it.
https://api.habitpocket.io/mcp
Two ways in, depending on your client: the OAuth consent flow (the Claude directory listing and custom connectors — you approve access in your browser, no key handling), or an API key from Settings → Integrations for clients where you configure headers yourself.
Set up · claude.ai
Connect from claude.ai in about a minute.
Habit Pocket is listed in the Claude directory. Claude sends you to a Habit Pocket consent page, and you approve. No URL to paste, no key to copy.
-
Open the listing
Open Habit Pocket in the Claude directory and connect it. -
Approve access
Claude sends you to a Habit Pocket page that shows exactly what access means. Sign in if you aren’t already, hit Approve, and you land back in Claude, connected. -
Say something
Try: “How’s my week going?” Claude pulls your stats and answers from your real data.
You can also add it by hand: in claude.ai, go to Settings → Connectors → Add custom connector and paste https://api.habitpocket.io/mcp. The approval step is the same.
Set up · ChatGPT
ChatGPT works the same way.
ChatGPT's connectors speak the same protocol and use the same approval flow — the steps just live in a different menu.
-
Add a connector
In ChatGPT, go to Settings → Connectors and create a new connector (on some plans this lives under developer mode). -
Paste the server URL
https://api.habitpocket.io/mcp— name it Habit Pocket and pick OAuth authentication. -
Approve access
ChatGPT sends you to the same Habit Pocket consent page; approve and you’re connected. Enable the connector in a chat and ask away.
claude mcp add --transport http habit-pocket https://api.habitpocket.io/mcp \
--header "Authorization: Bearer mp_live_xxxxx"
The same shape works in Cursor and any client that supports remote MCP servers with custom headers: transport http, URL https://api.habitpocket.io/mcp, header Authorization: Bearer mp_live_xxxxx. Revoke the key in Settings and access ends immediately.
Capabilities
Fifteen tools, honest boundaries.
Reads cover everything — habits, entries, stats, sections, charts, and the order you keep them in. Writes cover the reversible half: log and clear daily values, create habits and charts, edit a habit’s name, description, goal or section, rename sections, and rearrange them. What stays in the app is what editing back can’t undo — changing a habit’s type, editing a select habit’s options, archiving, deleting — so an over-eager assistant can never throw away what you’ve logged.
| Tool | Access | What it does |
|---|---|---|
| get_account_context | read | Your timezone and today’s date — so “yesterday” lands on the right day. |
| list_habits | read | Your habits with types, targets, and streaks. |
| get_entries | read | One habit’s daily values across a date range. |
| get_all_entries | read | Every habit’s values in one call, with the time each day was done — the workhorse for “analyze my week”. |
| get_stats | read | Streaks, completion rates, perfect days — the app’s own numbers. |
| log_entry | write | Set a habit’s value for a day, and when you did it (“I ran at 7”). |
| clear_entry | write | Remove a day’s value. |
| get_notes | read | Your notes on habit days — why a day went the way it did. |
| set_note | write | Write or replace the note on a day. |
| clear_note | write | Remove the note on a day. |
| list_sections | read | Your habit groups. |
| create_habit | write | Create a new habit, any of the four types. |
| update_habit | write | Rename a habit, edit its description or goal, color its days by value, mark it as one to avoid, or move it to another section. |
| rename_section | write | Rename a habit group. |
| get_layout | read | The current order of your sections, and the habits inside each one. |
| set_layout | write | Rearrange sections and habits, or move a habit into a different section. |
| list_charts | read | The chart cards on your dashboard. |
| create_chart | write | Add a dashboard chart — line, heatmap, summary, or candle. |
Prefer raw HTTP? The identical contract is available as a REST API — MCP tools and API endpoints hit the same code path, so a value logged by your assistant syncs to your phone like any other entry.
Built-in prompts
One-click workflows.
Five prompt templates ship with the server — in Claude they appear in the “+” menu once connected. Each one drives the right tool sequence, so a weekly review is one click, not a paragraph of instructions.
weekly_review
What held, what slipped, streaks at risk, one focus for next week.
monthly_review
Trends over 30 days: direction per habit, best and worst weeks.
correlation_check
Do two habits move together? Honest analysis, lagged effects included.
streak_risk
Which streaks die today if you don’t act tonight.
habit_design
Design tracking for a goal, grounded in your actual follow-through.
Things to try
Say it like you'd say it to a person.
No syntax to learn. These all work on day one:
- “Log 7.5 hours of sleep and mark meditation done for yesterday.”
- “How’s my week going? Anything I should worry about today?”
- “Do I sleep better on days I run? Check the last three months.”
- “I was travelling this week — here’s what happened: ran Tuesday and Thursday, slept badly, about 6 hours a night. Fill in my habits.”
- “Create a candle chart showing my sleep window from bedtime to wake-up, overlaid with sleep score.”
- “Which of my targets are unrealistic based on my actual data?”
- “Rename “Body” to “Health”, and move my sleep and workout habits into it.”
- “Put the habits I’m most likely to skip at the top of the list.”
Privacy
You bring the AI. We never send your data anywhere.
Connecting via MCP is you authorizing your own assistant to reach your own account — Habit Pocket doesn't ship your data to any AI company, ever. Access is scoped to exactly your account, every write syncs visibly to your devices, and revoking the key or connector ends access immediately.
FAQ
MCP — common questions
MCP (Model Context Protocol) is the open standard AI assistants use to connect to outside tools. Once Habit Pocket is connected, your assistant can read your habits, entries, and stats, log values for you, and create habits and charts — by talking to it, no code involved. Habit Pocket hosts the server; nothing to install.
Anything that speaks MCP over HTTP. Claude is the best-tested path: Habit Pocket is listed in the Claude directory, so you can connect it from claude.ai, the Claude mobile apps, and Claude Desktop without pasting a URL, and Claude Code connects with an API key. ChatGPT connects the same way through its connectors with the same approval flow. Editors like Cursor and other MCP-capable clients work with an API key in the Authorization header.
Not by us, ever. Habit Pocket never sends your data anywhere. Connecting via MCP is you authorizing your own AI assistant to read your account — the same as handing a tool your API key. The conversation happens between you and your assistant; revoke access any time and it ends immediately.
It can only do what the tools allow: log or clear daily values, create habits and charts, edit a habit’s name, description, goal or section, rename sections, and reorder them. It cannot change a habit’s type or a select habit’s options — the two edits that would reinterpret values you already logged — and it cannot archive or delete anything, touch your account, or see anyone else’s data. Every write syncs to your devices like a normal entry, so anything it changes is visible, and fixable, in the app.
Yes — MCP access is part of Pro, same as the REST API. Connecting is free to set up; the tools check your plan when they run.
If you connected with an API key, revoke the key under Settings → Integrations and access ends immediately. If you connected through the consent flow (claude.ai or ChatGPT), remove the connector in the assistant’s settings; tokens expire on their own and can no longer be refreshed once the connector is gone.