Habitica MCP Server

Habitica MCP Server

habitica-mcp-server•byibreaker

A Model Context Protocol server that lets AI assistants interact with the Habitica API to manage tasks, habits, pets, mounts, shop items, skills, and user data.

License: MIT License•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Creates, views, updates, deletes, and scores Habitica tasks including habits, dailies, todos, and rewards.
  • •Manages checklist items within tasks, including adding, updating, deleting, and scoring them.
  • •Supports raising pets by hatching and feeding them and managing and equipping mounts.
  • •Provides shop browsing and purchasing, class skill casting, tag management, notifications, and user profile and inventory access.

BEST FOR

  • •Users who want to operate their Habitica tasks and game features through natural-language AI conversations.
  • •People who want AI to create tasks on demand and summarize progress automatically.

ABOUT HABITICA-MCP-SERVER

Habitica MCP Server is cataloged as an MCP server attributed to ibreaker. A Model Context Protocol server that lets AI assistants interact with the Habitica API to manage tasks, habits, pets, mounts, shop items, skills, and user data. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Habitica MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server follow the MCP specification and work with MCP-supporting AI clients?

Yes, the README states the server follows the MCP spec and works with any AI client that supports MCP.

What Habitica task types can be managed?

It supports habits, dailies, todos, and rewards as task types.

Upstream README

View this exact version on GitHub

README.md · e04e41d2aad5 · Fetched 2026-11-13 12:17:23 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Habitica MCP Server

中文文档请阅读 README.zh-CN.md

A Model Context Protocol (MCP) server that lets AI assistants seamlessly interact with the Habitica API – create tasks, track habits, raise pets and enjoy gamified productivity.

✨ Features

🎮 Core Gameplay Features

  • 📋 Smart task management – create / view / update / delete all task types
  • ✅ Checklist management – add, update, delete and score checklist items within tasks
  • 🎯 Habit tracking – record habit completions and build healthy routines
  • 🐾 Pet raising – hatch and feed pets, watch them grow
  • 🏇 Mount collection – manage and equip all kinds of mounts
  • 🛍️ Shop & rewards – browse and buy in-game items
  • ⚡ Skill system – cast class skills to enhance gameplay

📊 Data-oriented Features

  • 👤 User profile – fetch detailed user information and stats
  • 🏷️ Tag management – create and manage tags for better organisation
  • 📬 Notification centre – read and manage system notifications
  • 📦 Inventory – list every item and piece of equipment you own

🤖 AI Integration Highlights

  • 🧠 Natural-language control – operate Habitica via conversation
  • 📝 Task suggestions – AI can create tasks on demand
  • 📈 Progress reporting – automatically track and summarise progress
  • 🎨 Personalised experience – tailored recommendations based on your habits

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • A valid Habitica account

Installation

  1. Clone the repo
git clone https://github.com/ibreaker/habitica-mcp-server.git
cd habitica-mcp-server
  1. Install dependencies
npm install
  1. Set API credentials (see next section)

  2. Start the server

npm start

⚙️ Configuration

Get Habitica API credentials

  1. Log into Habitica
  2. Click your avatar → Settings
  3. Open the API tab
  4. Copy User ID and API Token

Environment variables

Method A: export variables

export HABITICA_USER_ID="your-user-id"
export HABITICA_API_TOKEN="your-api-token"

Method B: .env file

HABITICA_USER_ID=your-user-id
HABITICA_API_TOKEN=your-api-token

⚠️ Security tip: never commit your API keys to version control.

🎯 Usage

Start the server

# Production
npm start

# Development (with reload)
npm run dev

MCP client integration

The server follows the MCP spec and works with any AI client that supports MCP. Example Claude Desktop config:

{
  "mcpServers": {
    "habitica-mcp-server": {
      "command": "npx",
      "args": ["-y", "habitica-mcp-server"],
      "env": {
        "HABITICA_USER_ID": "your-id",
        "HABITICA_API_TOKEN": "your-token",
        "MCP_LANG": "en"  // or zh-CN
      }
    }
  }
}

Example dialogue

User: "Create a habit for learning Python"
AI:   "Sure, the habit has been created!"

User: "Show me today's tasks"
AI:   "Here is your task list for today…"

User: "Add a checklist item to my project task: 'Review code'"
AI:   "Added checklist item 'Review code' to your project task!"

User: "I finished my workout, please record it"
AI:   "Great job! The workout is logged."

🛠️ Available Tools

  • get_user_profile: Get user profile information
  • get_stats: Get user statistics
  • get_inventory: Get inventory list

Task Management

  • get_tasks: Get task list (can specify type: habits, dailys, todos, rewards)
  • create_task: Create new task
  • update_task: Update task
  • delete_task: Delete task
  • score_task: Complete task or record habit

Checklist Management

  • get_task_checklist: Get checklist items for a task
  • add_checklist_item: Add checklist item to task
  • update_checklist_item: Update checklist item
  • delete_checklist_item: Delete checklist item
  • score_checklist_item: Score checklist item (mark complete/incomplete)

Tag Management

  • get_tags: Get tag list
  • create_tag: Create new tag

Pets and Mounts

  • get_pets: Get pet list
  • feed_pet: Feed pet
  • hatch_pet: Hatch pet
  • get_mounts: Get mount list
  • equip_item: Equip pet, mount or equipment

Shop and Purchases

  • get_shop: Get shop item list
  • buy_item: Buy shop item
  • buy_reward: Buy reward

Notification Management

  • get_notifications: Get notification list
  • read_notification: Mark notification as read

Skill System

  • cast_spell: Cast spell

📖 API Usage Examples

Create Task

{
  "type": "todo",
  "text": "Complete project documentation",
  "notes": "Including API docs and user guide",
  "difficulty": 1.5,
  "priority": 2,
  "checklist": [
    {"text": "Write API documentation", "completed": false},
    {"text": "Create user guide", "completed": false},
    {"text": "Review and proofread", "completed": false}
  ]
}

Complete Task

{
  "taskId": "task-id-here",
  "direction": "up"
}

Get Specific Task Type

{
  "type": "todos"
}

Pet Management

{
  "pet": "Wolf-Base",
  "food": "Meat"
}

Buy Item

{
  "itemKey": "armor_warrior_1",
  "quantity": 1
}

Checklist Management

// Add checklist item
{
  "taskId": "task-id-here",
  "text": "Research requirements"
}

// Update checklist item
{
  "taskId": "task-id-here",
  "itemId": "checklist-item-id",
  "text": "Updated item text",
  "completed": true
}

// Score checklist item (toggle completion)
{
  "taskId": "task-id-here",
  "itemId": "checklist-item-id"
}

Task Types

  • habit: Habit (can be recorded positively or negatively)
  • daily: Daily task (resets every day)
  • todo: To-do item (one-time task)
  • reward: Reward (can be purchased with gold)

Difficulty Levels

  • 0.1: Easy
  • 1: Medium
  • 1.5: Hard
  • 2: Extreme

Priority Levels

  • 0.1: Low
  • 1: Medium
  • 1.5: High
  • 2: Extreme

🔧 Troubleshooting

Common Issues

Issue: Server startup failed

Solution: 
1. Check Node.js version is 18+
2. Confirm environment variables are set correctly
3. Verify API credentials are valid

Issue: API call failed

Solution:
1. Check network connection
2. Verify Habitica API credentials
3. Confirm API rate limits haven't been exceeded

Issue: Task or pet not found

Solution:
1. Confirm task ID is correct
2. Check if task exists in Habitica
3. Verify user permissions

Debug Mode

# Enable verbose logging
DEBUG=* npm start

Get Help

🤝 Contributing

We welcome all forms of contributions!

How to Contribute

  1. Fork this project
  2. Create feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Create Pull Request

Development Guidelines

  • Follow existing code style
  • Add appropriate tests
  • Update relevant documentation
  • Ensure all tests pass

📄 License

This project is open source under the MIT License - see the LICENSE file for details.

🌟 Acknowledgments

  • Thanks to Habitica for providing an excellent API
  • Thanks to Anthropic for the MCP protocol
  • Thanks to all contributors and users for their support

Let AI become your Habitica task management assistant!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Habitica MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/habitica-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops