habitca-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@habitca-mcpget my unfinished todos for today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
habitca-mcp
A small Model Context Protocol server that exposes the Habitica v3 API as MCP tools, so MCP-aware AI assistants (Claude Code, Hermes Agent, Cursor, etc.) can read and update your Habitica tasks, habits, dailies, rewards, pets, inventory and notifications.
This is a clean rewrite of the original by iBreaker — same surface, no axios/zod/i18n, single-file Node, English-only output.
Install
git clone https://github.com/hxlair/habitca_mcp.git
cd habitca_mcp
npm installNode 18 or newer is required (uses the built-in fetch).
Related MCP server: habitify-mcp-server
Auth
You need your Habitica API credentials:
Copy your User ID and API Token
Export them in the shell that will launch the server:
export HABITICA_USER_ID=...
export HABITICA_API_TOKEN=...Optional:
export HABITICA_APP_ID=my-mcp-client # sent as x-client header for Habitica analyticsRun
npm start
# or
./index.jsThe server speaks MCP over stdio. It logs habitca-mcp ready to stderr once connected.
Wire into an MCP client
Claude Code / Hermes Agent / Cursor
Add to the client's MCP config:
{
"mcpServers": {
"habitca": {
"command": "node",
"args": ["/absolute/path/to/habitca_mcp/index.js"],
"env": {
"HABITICA_USER_ID": "...",
"HABITICA_API_TOKEN": "..."
}
}
}
}For Hermes specifically:
hermes mcp add habitca \
--env HABITICA_USER_ID=... \
--env HABITICA_API_TOKEN=... \
-- node /absolute/path/to/habitca_mcp/index.jsTools
Tool | Purpose |
| Full user document |
| HP / MP / XP / level / gold / class |
| List tasks (optionally filter by |
| Fetch one task by id |
| Create habit/daily/todo/reward |
| Update a task's fields |
| Score a task |
| Delete a task |
| List checklist items on a task |
| Add a checklist item |
| Edit text/completed on a checklist item |
| Toggle checklist item complete |
| Remove a checklist item |
| Tag CRUD (subset) |
| Inventory views |
| Pet & gear actions |
| Reward purchases |
| Cast a class spell on self / a task / a party member |
| Notification handling |
| Trigger the daily cron manually |
Differences from upstream
Single dependency — only
@modelcontextprotocol/sdk. axios, zod and the i18n layer are gone.English-only output messages.
x-clientheader sent so Habitica can attribute traffic back to the MCP.Better errors — surfaces the Habitica API's
messagefield instead of swallowing it.Structured success messages — score_task returns the gold/exp/level deltas, create_task returns the new id, etc.
Adds
get_taskandrun_cron; minor schema cleanups (priority enum, completedTodos filter).
License
MIT — same as upstream.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to interact with the Habitica API to manage tasks, track habits, and engage in gamified productivity features like pet raising and inventory management. It allows users to control their Habitica account through natural language for a personalized and automated productivity experience.Last updated263417MIT
- Alicense-qualityFmaintenanceEnables AI assistants to manage Habitify habits, journals, moods, and notes through the Habitify API, with tools for adding, deleting, and retrieving habit logs and other data.Last updated598MIT
- FlicenseAqualityFmaintenanceEnables Claude to interact with LifeUp Cloud API on your local network for task management, achievements, and user information. Supports 20 tools including creating, editing, and querying tasks, achievements, and shop items.Last updated2610
- Alicense-qualityDmaintenanceEnables AI assistants to manage TickTick tasks, projects, habits, and focus sessions through the MCP server.Last updated140MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leon-jarvis1/habitca_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server