Skip to content

sargonpiraev/habitify-mcp-server

Repository files navigation

Habitify API MCP Server 🔧

npm version npm downloads license pipeline status smithery badge MCP Compatible Join Discord

Features

  • 🔌 Seamless AI Integration: Direct Habitify API API access from Claude, Cursor, and VS Code
  • 🤖 Automated Workflows: Automate Habitify API operations and data access
  • 📊 Complete API Coverage: 12+ tools covering all major Habitify API features
  • Real-time Access: Access Habitify API data instantly from AI assistants
  • 🔧 Professional Integration: Error handling, validation, and comprehensive logging

Get Your Credentials

Before installation, you'll need a Habitify API API key:

  1. Open Habitify API app or web interface
  2. Go to Settings → Account → API Access
  3. Generate new API key or copy existing one
  4. Save this key for the installation steps below

Requirements

  • Node.js >= v18.0.0
  • Habitify API API key
  • Cursor, VS Code, Claude Desktop or another MCP Client

Installation

Installing via Smithery

To install Habitify API MCP Server for any client automatically via Smithery:

npx -y @smithery/cli@latest install @sargonpiraev/habitify-mcp-server --client <CLIENT_NAME>
Install in Cursor

Cursor One-Click Installation

Install MCP Server

Manual Configuration

Add to your Cursor ~/.cursor/mcp.json file:

{
  "mcpServers": {
    "habitify-mcp-server": {
      "command": "npx",
      "args": ["-y", "@sargonpiraev/habitify-mcp-server"],
      "env": {
        "HABITIFY_API_KEY": "your-habitify_api_key"
      }
    }
  }
}
Install in VS Code

Install in VS Code

Or add manually to your VS Code settings:

"mcp": {
  "servers": {
    "habitify-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sargonpiraev/habitify-mcp-server"],
      "env": {
        "HABITIFY_API_KEY": "your-habitify_api_key"
      }
    }
  }
}
Install in Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "habitify-mcp-server": {
      "command": "npx",
      "args": ["-y", "@sargonpiraev/habitify-mcp-server"],
      "env": {
        "HABITIFY_API_KEY": "your-habitify_api_key"
      }
    }
  }
}

Available Tools

  • get-journal: Get habit journal for a specific date
  • add-habit-log: Add a habit log
  • delete-habit-logs-range: Delete habit logs in date range
  • delete-habit-log: Delete a specific habit log
  • get-habits: Get all habits
  • get-habit: Get habit details
  • get-areas: Get all areas
  • get-moods: Get mood entries
  • add-mood: Add mood entry
  • get-notes: Get notes
  • add-note: Add note
  • get-actions: Get available actions

Total: 12 tools available 🎯

Support This Project

Hi! I'm Sargon, a software engineer passionate about AI tools and automation. I create open-source MCP servers to help developers integrate AI assistants with their favorite services.

Your support helps me continue developing and maintaining these tools, and motivates me to create new integrations that make AI assistants even more powerful! 🚀

Support on Boosty

Connect with Author

About

MCP server for Habitify integration

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •