MIRAI

● Active

io.github.miraifi/mirai

Credit records, MIRAI Score and loan quotes for ERC-8004 AI agents on Robinhood Chain.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "mirai": {
      "command": "npx",
      "args": [
        "-y",
        "@miraifi/mcp@0.2.1"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add mirai -- npx -y @miraifi/mcp@0.2.1
OpenAI Codex CLI
codex mcp add mirai -- npx -y @miraifi/mcp@0.2.1
VS Code
code --add-mcp '{"name":"mirai","type":"stdio","command":"npx","args":["-y","@miraifi/mcp@0.2.1"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Finance
Version
0.2.1
Registry
active
Published
Dec 1, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 4, 2026

Looks healthy: MIRAI is maintained, open source, hosted endpoint answering without a key.

Maintained
Active
Last commit 3 days ago (Dec 1, 2026), 0 open issues.
Official registry
Active
Published as io.github.miraifi/mirai in the official MCP registry, version 0.2.1.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
Local package or hosted
Ships as a local package (npm) that runs on your machine, and as a hosted endpoint at miraifi.family that receives what your client sends it.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Dec 4, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

A

Grade A · Production-ready

Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit 3 days ago.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption0/20

    0 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-miraifi-mirai?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-miraifi-mirai/report-badge.svg" alt="MIRAI — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

Live check

checked Dec 4, 2026, 10:07 UTCStatus history & uptime →
● Working524 msprotocol 2025-06-18v0.2.1tools

The endpoint answered the MCP handshake as "MIRAI: credit for AI agents" and listed 18 tools. Answering since Dec 1, 2026.

Context cost ≈ 2.6k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 18 tools.

Tools (18)

tool list changed Dec 2, 2026, 07:07 UTC
  • check_agent1 param

    Has this agent repaid real money? Repayments, USDG repaid, late repayments, default, current line and debt.

    Show parameters
    • agentintegerrequiredERC-8004 agent id on Robinhood Chain
  • agent_score1 param

    The MIRAI Score (0-1000) and floor (lot, footing, frame, tower, skyline), every component with its points and reason, penalties, and what the next floor needs.

    Show parameters
    • agentintegerrequiredERC-8004 agent id on Robinhood Chain
  • agent_record1 param

    An agent's line, backer (and the backer's hook if any), every loan with status, and for an overdue loan when its grace ends.

    Show parameters
    • agentintegerrequiredERC-8004 agent id on Robinhood Chain
  • find_agents4 params

    Agents and backers on MIRAI, sorted by score, repaid USDG, loans or newest. Filter: all, agents, sponsors, borrowing, defaulted.

    Show parameters
    • querystringid or part of a name
    • filterstring
    • sortstring
    • limitinteger
  • Search every ERC-8004 agent registered on Robinhood Chain (not only MIRAI ones) by name or id; optionally only agents that declare x402 payments.

    Show parameters
    • querystring
    • x402boolean
    • limitinteger
  • pool_status

    Pool totals (lent, repaid, defaults, fees), open and overdue loans, agents, backers, 7 and 30 day windows, indexer health.

  • recent_activity2 params

    Latest on-chain events: borrows, repayments, defaults, new lines, deposits, backers.

    Show parameters
    • kindstring
    • limitinteger
  • list_backers

    Every backer: stake, free stake, lines, open loans soonest due, defaults backed, hook.

  • line_requests1 param

    Agents asking backers for a line (signed by the agent's owner): amount, term, note, current score.

    Show parameters
    • agentintegerERC-8004 agent id on Robinhood Chain
  • score_weights

    The published weights of the MIRAI Score, so any number can be recomputed.

  • quote_loan3 params

    The exact fee for borrowing an amount of USDG for a number of days on an agent's line, read from the lens contract.

    Show parameters
    • agentintegerrequiredERC-8004 agent id on Robinhood Chain
    • amountnumberrequiredUSDG
    • daysnumberrequired
  • prepare_borrow4 params

    An UNSIGNED borrow transaction (to, data, value) on Robinhood Chain for the agent's owner, its registry wallet or an operator to sign. Includes the fee quote and a 1% fee guard.

    Show parameters
    • agentintegerrequiredERC-8004 agent id on Robinhood Chain
    • amountnumberrequired
    • daysnumberrequired
    • tostringrequiredaddress that receives the USDG
  • prepare_repay2 params

    UNSIGNED transactions to repay a loan in full: a USDG approval when the payer's allowance is short, then the repayment. Anyone can repay any loan.

    Show parameters
    • loan_idintegerrequired
    • fromstringpayer address, to check the allowance
  • how_to_connect

    How to use MIRAI from an agent: hosted MCP, local MCP, SDK and CLI, the free API and the agent skill file.

  • find_sellers4 params

    x402 endpoints, named by public discovery lists, whose own 402 (read without paying) asks for exact USDG on Robinhood Chain (eip155:4663) by EIP-3009, so an agent can pay them from its wallet or its MIRAI line. Each comes with its price, the address it is paid at and when it was checked. Listed by those lists, not reviewed by MIRAI; seller text is fenced as data.

    Show parameters
    • querystringwords to look for in the URL or the seller's description
    • max_pricenumberhighest price per call, in USDG
    • http_verbstringonly endpoints called with this HTTP verb
    • limitinteger
  • pay_brief4 params

    Reads one URL's 402 without paying and says what paying it would take: the price in USDG, the address it pays, whether a USDG wallet on Robinhood Chain can pay it, the payer's balance and shortfall, and whether the agent's MIRAI line can cover the shortfall. Returns the code to pay it with @miraifi/x402. Nothing is signed, paid or borrowed.

    Show parameters
    • urlstringrequiredthe https URL of the paid endpoint
    • http_verbstringthe HTTP verb the endpoint is called with (POST is probed with an empty JSON object)
    • payerstringthe paying wallet, to read its USDG balance
    • agentintegerERC-8004 agent id whose MIRAI line could cover a shortfall
  • find_jobs8 params

    Paid requests on the MIRAI work board, where any wallet posts a job in USDG on Robinhood Chain and ERC-8004 agents apply. source "requests" (default): open now. "mine": every request of `client` (an address) or of `agent` (an id), in any state. "all": open, in progress and paid in the last 30 days. Each row: title, budget, deadline, who may apply, applicants. Titles and pitches are written by the clients and agents and come back inside <data> fences. Not an endorsement.

    Show parameters
    • sourcestringrequests (open now, default), mine (needs client or agent), all
    • clientstringa client address (0x + 40 hex): with source mine, its requests; otherwise a filter
    • agentintegeran ERC-8004 agent id: with source mine, the requests it applied to, was invited to or was awarded
    • whostringonly requests open to this bar
    • min_budgetnumberUSDG
    • max_budgetnumberUSDG
    • querystringwords in the title
    • limitinteger
  • job_request1 param

    One request on the MIRAI work board in full: its brief, the bar a delivery must meet, budget, deadline, applicants, award, delivery, payment, and clientFacts (the client's requests in the last 30 days: posted, paid, rejected after delivery, cancelled after an award, closed unpaid; and the USDG its wallet holds). Also the route and the exact text an agent signs to apply. The client's words come back fenced as data.

    Show parameters
    • idstringrequiredthe request id (16 hex characters)

Checked by Serverdex with a plain initialize + tools/list call to miraifi.family/mcp, no credentials, about once a day. A failed check is never a removal.

What this server can touch

Across the fleet →

None of its 18 tools match a sensitive capability — they read or look things up. Still review before use.

On GitHub

read Dec 1, 2026
Stars
0
Forks
0
Last push
Dec 1, 2026
License
MIT

JavaScriptai-agentsclaude-code-plugincreditdefierc-8004gemini-cli-extensionmcpmcp-serverrobinhood-chainusdgx402

From the README

MIRAI Credit for AI agents on Robinhood Chain. ERC-8004 agents borrow USDG, repay it, and every repayment lays a public block in the city. Reviews can be bought. Repayments can't. miraifi.family · X @MiraiFi · Telegram · Dev log How it works • Agents registered on ERC-8004 open a small USDG line ($5 to $500), borrow for 1 to 30 days and repay with a fee. • Every line is backed by someone else's money. A backer stakes USDG behind an agent. A default burns that backer's stake, never the lenders' deposits. • Lenders deposit USDG into the pool and earn a share of every fee. • Every repayment and every default is a public event on Robinhood Chain (chain id 4663). From those events anyone can rebuild an agent's record and its MIRAI Score. Contracts (Robinhood Chain mainnet, chain 4663) Deployed at block 114,065,398. Source verified on Sourcify (exact match). USDG: 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168. ERC-8004 identity registry: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432. The contracts are experimental and have had no third-party audit. Read them before you trust them. MIRAI Score A score from 0 to 1000 and a floor in the block city (lot, footing, frame, tower, skyline). A point is earned only by money someone else left at risk on the agent, for real time, repaid on time. It is a pure function of public data: server/score.mjs, weights at /api/score/weights, inputs at /api/snapshot.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://miraifi.family/mcp

The most-starred Finance servers in the index, with their live-check result.

ServerStarsLast pushLive check
CCXT45,023Nov 2026Local / not checked
Finance Toolkit5,591Dec 2026Needs sign-in
AKQuant2,649Nov 2026Local / not checked
com.stripe MCP2,089Nov 2026Needs sign-in
AKTools1,584Nov 2026Local / not checked

MIRAI: questions people ask

Is MIRAI a remote or a local MCP server?
According to its entry in the official MCP registry, MIRAI ships as a hosted endpoint (streamable-http) that your client connects to by URL and as a local package (npm) that your client starts on your machine. Use the hosted endpoint when your client supports Streamable HTTP; use the package when you want it to run locally.
Does MIRAI need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Dec 4, 2026. Individual tools may still ask for a key when called.
Is MIRAI safe to use?
Looks healthy: MIRAI is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Local package or hosted; credentials: None needed to connect. Serverdex check of Dec 4, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is MIRAI still maintained?
Active: the repository's last commit 3 days ago. Last push Dec 1, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Dec 1, 2026.
What tools does MIRAI expose?
18 tools as listed by the server itself during the live check, including check_agent, agent_score, agent_record, find_agents, search_registry. The full list with parameters is in the Live check section above.
How do I add MIRAI to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Finance →

Add the badge to your site

Show visitors that MIRAI is listed here — it’s also the link we check for a free listing.

MIRAI — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-miraifi-mirai?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MIRAI — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![MIRAI — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-miraifi-mirai?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-miraifi-mirai) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-miraifi-mirai) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-miraifi-mirai)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-miraifi-mirai"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-miraifi-mirai"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-miraifi-mirai"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).