Habitscore

tech.mydev-tools由 mydev-tools.tech 發布v1.0.1更新於 Oct 30, 2026

Reliability scoring for agent jobs and habit analytics. Pay per call via x402 (USDC on Base).

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,為重複性任務與習慣進行可靠性與堅持度評分,並透過 Base 上的 x402 以 USDC 按次付費。

可以做什麼
  • 為重複任務、作業、管線與排程工作流程評分可靠性,提供等級、中斷風險、延遲趨勢警告與依優先順序排列的改善建議
  • 為習慣與重複活動評分堅持度、一致性、連續動能,並標示中斷風險、亮點與注意事項
  • 為每個習慣排序推薦的下一步行動,附上理由與優先順序分數
  • 擷取精簡的行為洞察、模式、相關性與風險訊號
  • 為單一習慣建立多週計畫,包含每週目標與帶日期的里程碑
適用情境
適合在助理已握有完成歷史資料、需要確定性的規則化評分時使用,例如排程任務的可靠性檢視、習慣或日常安排的堅持度監測,以及為某項習慣規劃後續步驟。它本身不保存狀態,不儲存也不讀取任何歷史,所有數字都由呼叫端提供。
執行需求
透過 npx(Node.js)以 stdio 在本機執行,僅支援桌面用戶端。需要能連線至 API 來源與 Base RPC 端點(BASE_RPC_URL,預設 mainnet.base.org)。付費呼叫需要 HABITSCORE_PRIVATE_KEY,即持有 USDC 的 Base 錢包私鑰;HABITSCORE_MAX_SPEND_USD 限制單次呼叫的花費。未設定私鑰時以僅報價模式執行。
安裝前請注意
付費工具會花用真實的 Base 鏈上 USDC,每次 0.03 至 0.10 美元,代理重試迴圈可能持續產生費用;HABITSCORE_MAX_SPEND_USD 是唯一的單次呼叫上限。HABITSCORE_PRIVATE_KEY 是錢包私鑰,應使用僅存放預計支出金額的專用錢包。輸入資料會傳送至第三方 API。輸出不構成醫療、心理或財務建議。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Habitscore,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

habitscore-mcp

MCP server for Habitscore — analytics over anything with a recurring completion history.

Two families of tools, one engine:

  • Operational reliability — score recurring tasks, jobs, pipelines and scheduled workflows. Success rate, streak recovery, lapse risk, latency-trend warnings, and remediation ranked by priority.
  • Behavioural analytics — the same scoring over habit and routine data. Adherence, consistency, momentum, lapse risk, next-best actions, multi-week plans.

Pays per call with x402: USDC on Base, no account, no API key, no subscription. From $0.03 per call.

Walkthrough with a working x402 client example: https://mydev-tools.tech/agents/reliability/

Why it works this way

The server runs on your machine with your wallet. It signs payments locally and the private key never leaves the process. Nothing is custodied on our side and there is no account to create — the same promise the HTTP API makes.

Without a wallet configured, every tool still works in quote-only mode: it returns the price and the payment terms instead of erroring, so you can see what a call would cost before funding anything.

Install

jsonc
// Claude Desktop: claude_desktop_config.json// Cursor:         ~/.cursor/mcp.json{  "mcpServers": {    "habitscore": {      "command": "npx",      "args": ["-y", "habitscore-mcp"],      "env": {        "HABITSCORE_PRIVATE_KEY": "0x…",        "HABITSCORE_MAX_SPEND_USD": "0.25"      }    }  }}

Omit HABITSCORE_PRIVATE_KEY to start in quote-only mode.

Wallet

Use a dedicated wallet holding only what you intend to spend. Fund it with a small amount of USDC on Base (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). You do not need ETH: under EIP-3009 you sign the authorisation off-chain and the facilitator submits the transaction and pays the gas.

HABITSCORE_MAX_SPEND_USD caps what a single tool call may spend, and is checked against the price the server actually quotes before anything is signed. An agent loop that retries a paid tool can otherwise spend without bound, and you are the one paying — so a server that quotes more than you authorised is refused rather than paid.

Tools

ToolPriceReturns
analyze_reliability$0.08Reliability score and grade per task, lapse risk, latency-trend warnings, priority-ranked remediation
analyze_behaviour$0.05Adherence and consistency scores, streak momentum, lapse-risk flags, highlights, watchouts, recommendations
recommend_next_actions$0.03Ranked next-best action per habit with rationale and priority
extract_insights$0.05Condensed patterns, correlations and risk signals
build_habit_plan$0.10Multi-week plan for one habit: weekly targets and dated milestones

Price is per call, not per habit. analyze_behaviour accepts up to 25 habits for the same $0.05, so batching is by far the cheapest way to use this.

Input

Reliability:

json
{  "system": "billing-pipeline",  "tasks": [    {      "name": "nightly-etl",      "success_rate": 0.83,      "current_streak": 0,      "best_streak": 52,      "runs": 210,      "latency_trend": "rising",      "p95_latency_ms": 38000,      "cadence": "daily",      "critical": true    }  ]}

name, success_rate (0–1), current_streak and best_streak are required. Note that latency_trend: "rising" is the degradation signal — the opposite polarity to the behavioural tools, where a falling trend is the warning.

Behavioural:

json
{  "habits": [    {      "name": "Morning run",      "completion_rate": 0.72,      "current_streak": 9,      "best_streak": 21,      "average_mood": 7.4,      "energy_trend": "rising"    }  ]}

name, completion_rate (0–1), current_streak and best_streak are required. average_mood, mood_correlation, energy_trend and risk_score are optional and sharpen the result.

"Habit" is the domain vocabulary, but the analysis applies to any recurring activity with completion history — training schedules, medication adherence, study routines, recurring operational tasks.

What it does not do

The engine is deterministic and CPU-only: threshold rules and arithmetic over the numbers you supply. Same input, same output, every time.

It is not a language model and does not generate prose beyond composing its findings. It does not store anything — the agent endpoints are stateless, accept no user identifier, and cannot read or infer any stored history. It is not medical, psychological or financial advice.

Environment

VariableDefaultPurpose
HABITSCORE_PRIVATE_KEY—Wallet key for signing payments. Omit for quote-only mode.
HABITSCORE_MAX_SPEND_USD0.25Hard cap per tool call, enforced before signing.
HABITSCORE_API_URLhttps://api.mydev-tools.techAPI origin.
BASE_RPC_URLhttps://mainnet.base.orgBase RPC for balance reads and signing context.

Verifying a charge

Every successful paid call appends the settlement transaction hash to the tool output. Open it on basescan.org to confirm the amount and recipient independently of anything this server reports.

Links

Volume rebate

Verified spend earns credits back — 5% from $10 lifetime, 10% from $100, 15% from $1,000, with higher rate limits at each tier. Credits are returned inline in the response that earns them and are redeemed with an X-Agent-Credit header on a later call.

MIT licensed.

來源:README.md,提交 03b22a9

工具

5

analyze_reliability

Reliability analysis for up to 25 recurring tasks, jobs, pipelines or scheduled workflows in one call. Returns a reliability score and grade (healthy/degrading/unstable/failing) per task, lapse risk, streak recovery, latency-trend warnings, and remediation actions ranked by priority so the list is actionable top-down. Use for cron and pipeline monitoring, flaky-job triage, SLA and uptime adherence, agent task reliability, and deciding what to fix first. Deterministic threshold analysis over the figures you supply — no model, no log parsing, no root-cause inference. Costs $0.08 in USDC on Base.

輸入參數tasks必填system

analyze_behaviour

Behavioural analysis over up to 25 habits or recurring activities in one call. Returns adherence and consistency scores, streak momentum, lapse-risk flags, highlights, watchouts and recommendations. Use for adherence monitoring, routine optimisation, engagement and churn-risk signals, and streak analysis. Costs $0.05 in USDC on Base.

輸入參數habits必填

recommend_next_actions

Ranked next-best action per habit, each with a rationale and a priority score. The cheapest endpoint, deterministic and CPU-only, so it is suitable for high-frequency loops. Costs $0.03 in USDC on Base.

輸入參數habits必填

extract_insights

Condensed behavioural highlights and watchouts — patterns, correlations and risk signals — without the full aggregate breakdown. Use when you want the narrative rather than the numbers. Costs $0.05 in USDC on Base.

輸入參數habits必填

build_habit_plan

Multi-week plan for ONE habit: weekly targets and dated milestones over a chosen horizon. The most compute-intensive endpoint. Costs $0.10 in USDC on Base.

輸入參數habit必填horizon_days

版本歷史

1
  1. v1.0.1最新Oct 30, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分