Skip to main content
Glama
Need or Want

Need or Want

Need or Want

Stop impulse buying. Need or Want is an MCP server that checks a purchase before you make it: is it a need or a want, and should you buy it now, wait, or skip it?

It asks a few fixed multiple-choice questions, then computes a verdict with plain arithmetic. You can argue with it, but the verdict only changes when a fact changes, never because you push harder. Every decision is logged and reviewed at 30 and 90 days, so you can see whether it was right.

  • Deterministic: same inputs, same verdict. No AI decides anything.

  • Local: your data stays in ~/.need-or-want/. No network calls, no accounts, no telemetry.

  • Honest: it scores its own past verdicts and tells you how often it was right.

Install

Claude Code:

claude mcp add --scope user need-or-want -- npx -y need-or-want-mcp

Claude Desktop, in claude_desktop_config.json:

{ "mcpServers": { "need-or-want": { "command": "npx", "args": ["-y", "need-or-want-mcp"] } } }

Then tell Claude: "Set up Need or Want. My currency is USD and my monthly spending budget is 2000."

From source: npm install && npm run build, then point the client at node /path/to/need-or-want-mcp/dist/src/index.js.

Related MCP server: genpark-personal-spending-impulse-friction-guard-skill

Use

Talk about buying something and Claude runs the check. Or use the should-i-buy prompt (a slash command in Claude Code, a menu item in Claude Desktop).

Tool

What it does

setup

Currency, monthly budget (or a month-by-month schedule), credit card policy

check_purchase

Returns the questions, then the verdict: BUY, WAIT or SKIP, plus NEED, MIXED or WANT

challenge_verdict

Argue with the verdict by changing one fact

record_outcome

Bought, didn't buy, or a 30/90-day review

get_status

Money left this month, waits ending, reviews due, accuracy

How the verdict works

A score from 0 to 100: need 40%, budget fit 25%, honest cost per use 20%, your track record 10%, real discount 5%. 70 or more is BUY after a wait, 50 to 69 is WAIT for twice as long, under 50 is SKIP. Vetoes (EMI, new credit, over budget, blocked category) come first.

The full maths, the psychology and the research behind it: docs/DESIGN.md.

Settings

Edit ~/.need-or-want/config.json. Tightening a setting applies at once. Loosening one waits 7 days, so you can't raise your own budget mid-craving.

Optional: run the check whenever you look at a product (Claude Code)

Add a hook to ~/.claude/settings.json, with a matcher for your shopping MCP:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "mcp__amazon-in__.*",
        "hooks": [
          {
            "type": "command",
            "command": "echo '{\"hookSpecificOutput\":{\"hookEventName\":\"PostToolUse\",\"additionalContext\":\"The user is looking at a product. Before helping them buy it, run need-or-want check_purchase.\"}}'"
          }
        ]
      }
    ]
  }
}

Privacy

Everything stays in the data folder on your machine. The server makes no network calls, and a test fails the build if any source file could.

License

MIT

Available Tools

5 tools
challenge_verdictChallenge a verdictA

Use when the user pushes back on a verdict. Name the ONE input that changed (field) and its new value; a wrong category is a fact too. If no fact changed, use field 'none' with the closest argumentType. The verdict only moves when a fact changes; estimates (U1, U2) revised after a verdict count at 50%, once.

Inputs: field (required), decisionId (required), note, newValue, +1 more.

check_purchaseCheck a purchaseA

Call this BEFORE helping the user buy anything, or when they compare or price-check something with intent to buy. The first call returns multiple-choice questions: ask them word for word, then call again with every answer in answers. The verdict comes from fixed arithmetic: relay its message, never your own opinion. Pick the category that matches how long the thing lasts; if unsure, ask the user. Pass merchant (domain) and productKey (ASIN or URL) when known. Pass spentThisMonth only if a budgeting tool gives it.

Inputs: item (required), price (required), category (required), answers, +7 more.

get_statusStatus and accuracyB

Money left this month, waits ending, reviews due, pending setting changes, and how accurate past verdicts were.

Inputs: no named parameters.

record_outcomeRecord what happenedC

Record that the user bought or didn't buy a checked item, or record a 30- or 90-day review. Buying against a non-BUY verdict is logged as an override, with no other friction.

Inputs: event (required), decisionId (required), day, uses, +3 more.

setupSet up or show settingsB

First-time setup, or show the current settings when called with no arguments. Tightening a setting applies at once. Loosening one (higher budget, card allowed) applies only after 7 days.

Inputs: currency, schedule, creditCard, hourlyIncome, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a clearly distinct role: setup, check_purchase, challenge_verdict, record_outcome, and get_status map to separate phases of the buy-decision workflow. The only overlap is that setup called with no arguments shows current settings, which partially duplicates get_status's reporting of pending setting changes and budget state.

    Naming Consistency4/5

    Four of five tools follow a clean verb_noun pattern (record_outcome, check_purchase, challenge_verdict, get_status). The bare noun 'setup' is a minor deviation but remains readable and unambiguous.

    Tool Count5/5

    Five tools is well-scoped for a single-domain purchase-gating assistant; each tool earns its place across setup, evaluation, challenge, recording, and status. No redundant or filler tools.

    Completeness4/5

    The surface covers the full lifecycle: configure, check, dispute, record outcome/review, and report status. Minor gaps exist—no way to list or undo individual recorded outcomes, and no dedicated history view beyond the aggregate accuracy in get_status.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables local deterministic scoring for startup audits with twenty pure-function tools, allowing GO/KILL verdicts, composite scores, market, money, and signal calculations without accounts, network, or model calls.
      20
      45 npm
      Apache 2.0
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables personal agents and users to evaluate purchase impulses by applying cooling-off friction timers and converting spending amounts into net work-hour wage equivalents. It returns deterministic, actionable decision output that helps delay or reject impulsive spending before it happens.
      7
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables personal AI agents to evaluate purchase impulses by applying cooling-off friction timers and converting costs into net work-hour wage equivalents. It returns prioritized, deterministic recommendations that help users pause, reflect, and make more deliberate financial decisions.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to record probabilistic judgments in an immutable ledger, automatically score them against outcomes, and analyze systematic biases across six classification layers. It supports natural-language interaction for logging predictions, checking randomness, and auditing data integrity while avoiding advice or replacing user judgment.
      Apache 2.0