io.github.codecraf8/maap

السجل الرسمي أخرى

Calibrated numeric estimates with uncertainty from messy records

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package maap-mcp
Claude Code
claude mcp add maap -e 'MAAP_API_KEY=<your maap_api_key>' -e 'MAAP_BASE_URL=<MAAP_BASE_URL>' -- npx -y maap-mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "maap": {
            "command": "npx",
            "args": [
                "-y",
                "maap-mcp@0.1.1"
            ],
            "env": {
                "MAAP_API_KEY": "<your maap_api_key>",
                "MAAP_BASE_URL": "<MAAP_BASE_URL>"
            }
        }
    }
}

متغيرات البيئة

  • MAAP_API_KEY إلزامي سري API key from https://dash.hitl.systems/keys
  • MAAP_BASE_URL Override the API base URL. Defaults to https://dash.hitl.systems

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. maap-mcp
  2. Install
  3. Using it
  4. Notes

maap-mcp

maap over MCP: ask for a number, get a calibrated distribution — a median, the range the true value should fall inside, and the probability of crossing a threshold you name.

Two tools:

ToolDoes
list_targetsSearch the 104 trained targets. Call this first — a target id is not guessable
estimateOne case, one target → median, quantiles, intervals, P(value > t), and how calibrated the answer is

Install

Get a key at dash.hitl.systems/keys, then add the server to your client.

Claude Desktop — claude_desktop_config.json:

{
  "mcpServers": {
    "maap": {
      "command": "npx",
      "args": ["-y", "maap-mcp"],
      "env": { "MAAP_API_KEY": "apikey_..." }
    }
  }
}

Claude Code:

claude mcp add maap --env MAAP_API_KEY=apikey_... -- npx -y maap-mcp

Not on npm yet — until it is, install straight from this repo by swapping maap-mcp for github:hitl-systems/maap-mcp in any of the above. The built bundle is committed, so there is nothing to compile.

Cursor — ~/.cursor/mcp.json: the same mcpServers block as Claude Desktop.

VariableRequiredDefault
MAAP_API_KEYyes—
MAAP_BASE_URLnohttps://dash.hitl.systems

Using it

Which maap target predicts flight prices? Estimate the fare for a Vistara economy ticket Delhi → Mumbai, non-stop, booked 9 days out, and tell me the chance it is over ₹10,000.

The agent calls list_targets for the id, then estimate with your case as the state.

Read the median as the answer and the range as what to plan against. For a threshold question, pass thresholds and read P(value > t) — do not compare the median to the threshold yourself; the median says where the middle is, not how likely the threshold is.

An answer also carries how much to trust it: regime (in_domain, or new_target when the model only knows what your examples taught it), calibration ("none" means no correction survived its check, so the range carries no coverage promise), and novelty_flag when the case is unlike anything in training. Known limits are published: dash.hitl.systems/docs/calibration.

Notes

  • One question per call. The HTTP API takes up to 32 under names you choose; a flat tool is the one an agent fills in correctly.
  • The first call after an idle period starts a GPU container and can take tens of seconds. The server waits 120 s and tells the agent to retry rather than failing silently.
  • Each question counts against your allowance. A rejected call costs nothing.
  • Pricing, limits and the full wire format: dash.hitl.systems/docs/api.

MIT.

الأسئلة الشائعة

ما هو io.github.codecraf8/maap؟

Calibrated numeric estimates with uncertainty from messy records

كيف أثبّت io.github.codecraf8/maap؟

يعمل على جهازك. في Claude Code: claude mcp add maap -e 'MAAP_API_KEY=<your maap_api_key>' -e 'MAAP_BASE_URL=<MAAP_BASE_URL>' -- npx -y maap-mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.codecraf8/maap إلى مفتاح API؟

نعم. يتطلب MAAP_API_KEY، وتضبطها في إعداداته.

هل io.github.codecraf8/maap مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.codecraf8/maap؟

ينشره hitl-systems. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.