H

Habitscore

by mydev-tools.tech · tech.mydev-tools/habitscore

Enables agents to score the reliability of recurring tasks, jobs and pipelines (success rate, streak recovery, lapse risk, latency-trend warnings, priority-ranked remediation) and to run behavioural analytics over habit or routine data (adherence, consistency, momentum, next-best actions, multi-week plans). Pays per call in USDC on Base via x402 from a local wallet, or runs quote-only when no wallet is configured.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tech-mydev-tools-habitscore": {
      "command": "npx",
      "args": [
        "-y",
        "habitscore-mcp"
      ],
      "env": {
        "HABITSCORE_PRIVATE_KEY": "<YOUR_VALUE>",
        "HABITSCORE_MAX_SPEND_USD": "0.25",
        "BASE_RPC_URL": "https://mainnet.base.org",
        "HABITSCORE_API_URL": "https://api.mydev-tools.tech"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "tech-mydev-tools-habitscore": {
      "command": "npx",
      "args": [
        "-y",
        "habitscore-mcp"
      ],
      "env": {
        "HABITSCORE_PRIVATE_KEY": "<YOUR_VALUE>",
        "HABITSCORE_MAX_SPEND_USD": "0.25",
        "BASE_RPC_URL": "https://mainnet.base.org",
        "HABITSCORE_API_URL": "https://api.mydev-tools.tech"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "tech-mydev-tools-habitscore": {
      "command": "npx",
      "args": [
        "-y",
        "habitscore-mcp"
      ],
      "env": {
        "HABITSCORE_PRIVATE_KEY": "<YOUR_VALUE>",
        "HABITSCORE_MAX_SPEND_USD": "0.25",
        "BASE_RPC_URL": "https://mainnet.base.org",
        "HABITSCORE_API_URL": "https://api.mydev-tools.tech"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "tech-mydev-tools-habitscore": {
      "command": "npx",
      "args": [
        "-y",
        "habitscore-mcp"
      ],
      "env": {
        "HABITSCORE_PRIVATE_KEY": "<YOUR_VALUE>",
        "HABITSCORE_MAX_SPEND_USD": "0.25",
        "BASE_RPC_URL": "https://mainnet.base.org",
        "HABITSCORE_API_URL": "https://api.mydev-tools.tech"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "tech-mydev-tools-habitscore": {
      "command": "npx",
      "args": [
        "-y",
        "habitscore-mcp"
      ],
      "env": {
        "HABITSCORE_PRIVATE_KEY": "<YOUR_VALUE>",
        "HABITSCORE_MAX_SPEND_USD": "0.25",
        "BASE_RPC_URL": "https://mainnet.base.org",
        "HABITSCORE_API_URL": "https://api.mydev-tools.tech"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "tech-mydev-tools-habitscore": {
      "command": "npx",
      "args": [
        "-y",
        "habitscore-mcp"
      ],
      "env": {
        "HABITSCORE_PRIVATE_KEY": "<YOUR_VALUE>",
        "HABITSCORE_MAX_SPEND_USD": "0.25",
        "BASE_RPC_URL": "https://mainnet.base.org",
        "HABITSCORE_API_URL": "https://api.mydev-tools.tech"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
HABITSCORE_PRIVATE_KEY secret No Wallet private key for signing payments. Omit to start in quote-only mode.
HABITSCORE_MAX_SPEND_USD No Hard cap per tool call in USD, enforced before signing. Default: 0.25
BASE_RPC_URL No Base RPC URL for balance reads and signing context. Default: https://mainnet.base.org
HABITSCORE_API_URL No API origin. Default: https://api.mydev-tools.tech

Similar servers