Blocks connector for Claude
Ask your own Claude about Blocks, and have it mark habits, write notes or add habits for you.
1. Link the phone
Blocks keeps everything on the iPhone, so the phone sends a copy here. In Blocks open Settings → Claude → Link this iPhone and sign in with your email (Cloudflare sends a 6-digit code). From then on Blocks syncs whenever it opens, comes back to the foreground, or you change something. Turn it off on the same screen.
2. Add it to Claude
On claude.ai: Customize → Connectors → Add → Add custom connector. Name Blocks, address https://blocks.entrpy.co/mcp. Click Connect and sign in the same way. It then works in the Claude apps too.
Try asking
- “Did I hit my habits this week?”
- “How much have I slept on average over the last two weeks, and how many nights met my goal?”
- “Mark no alcohol for yesterday.”
- “Make a new habit called Read, green, book icon, starting Monday.”
- “How many pull-ups did I do this month?”
Changes from Claude
Claude can't reach the phone directly, so a change is queued here and the app applies it the next time Blocks opens (or comes back to the foreground). Claude's answers already include queued changes. A change the app can't make (for example, the habit was deleted on the phone first) is rejected, and sync_status says why. Nothing here writes to Apple Health.
Tools
| Tool | What it does | Data |
|---|---|---|
whoami | Who you are, last sync, today's date on the phone, waiting changes. | No Blocks data |
sync_status | Linked phones and what happened to each change asked for from Claude. | No Blocks data |
today | Today's habits with streaks, note, steps, energy, sleep, workout, pull-ups. | Apple Health numbers (steps, active energy, sleep, workouts) |
get_day | Everything for one day. | Apple Health numbers (steps, active energy, sleep, workouts) |
list_habits | Every habit with streaks and 7 and 30 day counts. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
habit_history | One habit day by day: kept, missed, rate. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
notes | Day notes over a range, optionally by words. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
health | Steps, active energy or sleep per day, with totals and goal days. | Apple Health numbers (steps, active energy, sleep, workouts) |
workouts | Days with a workout. | Apple Health numbers (steps, active energy, sleep, workouts) |
pullups | Pull-up sessions, sets and totals. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
keep_habitchange | Mark a habit kept or not for a day. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
set_notechange | Write, append to, or clear a day note. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
create_habitchange | Add a new habit, with color, icon and an optional start day. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
update_habitchange | Rename or restyle a habit. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
hide_habitchange | Hide or show a habit (history kept). | Habits, kept days, notes, goals and pull-ups typed into Blocks |
delete_habitchange | Delete a habit and its history (asks first). | Habits, kept days, notes, goals and pull-ups typed into Blocks |
set_goalschange | Change the steps, energy and sleep goals. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
log_pullupschange | Record a finished pull-up session. | Habits, kept days, notes, goals and pull-ups typed into Blocks |
cancel_changechange | Cancel a change the app hasn't applied yet. | No Blocks data |
What is stored, and who can see it
- Stored: the latest copy of your Blocks data (habits, kept days, notes, goals, pull-ups, and the last 365 days of steps, active energy, sleep and workout days), and the changes asked for from Claude. In Entrpy's database; only this service can read it.
- Who: only the people on this connector's list, each seeing only their own account. Testers who don't link their phone send nothing.
- Logged: every Claude call (who, when, which tool, a short summary of the arguments, the result). Answers are not logged.
- Unlinking the phone in Blocks stops syncing and revokes its key. Ask andrew@entrpy.co to delete the stored copy.
Problems: andrew@entrpy.co