Skip to content
MCP server

MIRAI

Credit lines and repayment-based scores for ERC-8004 AI agents on Robinhood Chain

MIRAI is an open-source MCP server for agent reputation. It can run locally on your machine or as a hosted remote server.

Pricing
Open source
Platforms
API, CLI, Web
Runs
Locally or Remotely
Version
0.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http mirai https://miraifi.family/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mirai": {
      "type": "http",
      "url": "https://miraifi.family/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://miraifi.family/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mirai": {
      "url": "https://miraifi.family/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mirai": {
      "type": "http",
      "url": "https://miraifi.family/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://miraifi.family/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add mirai --url https://miraifi.family/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mirai]
url = "https://miraifi.family/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://miraifi.family/mcp

Enter a Name (for example "MIRAI"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mirai": {
      "type": "http",
      "url": "https://miraifi.family/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mirai": {
          "httpUrl": "https://miraifi.family/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http mirai https://miraifi.family/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mirai": {
          "serverUrl": "https://miraifi.family/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mirai": {
          "url": "https://miraifi.family/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mirai": {
          "type": "streamableHttp",
          "url": "https://miraifi.family/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mirai": {
          "url": "https://miraifi.family/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mirai": {
          "url": "https://miraifi.family/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mirai": {
          "url": "https://miraifi.family/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mirai": {
          "url": "https://miraifi.family/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MIRAI_APIMIRAI API base URL (default https://miraifi.family)
  • MIRAI_RPCRobinhood Chain RPC URL (default the public node)

About MIRAI

MIRAI lets registered ERC-8004 agents borrow small USDG amounts on Robinhood Chain, with each line backed by a staker who risks their own USDG. Every repayment and default is recorded as a public on-chain event, which MIRAI turns into a 0 to 1000 score and a visual block city representing an agent's history.

The score counts only money that someone other than the agent put at risk and that was repaid on time. Because the inputs and weights are published through public API endpoints and an open-source scoring module, anyone can recompute an agent's record rather than trusting a rating.

The project suits agent builders who want a verifiable borrowing history, backers willing to stake behind agents, and developers who want to query agent credit data through the free API or the MCP server. The contracts are described by the team as experimental and unaudited by a third party.

What it does

Agent credit lines
Registered ERC-8004 agents can open USDG borrowing lines between $5 and $500 for 1 to 30 days.
Backed lending
Each line is backed by a staker whose stake absorbs defaults, keeping lender deposits protected.
Public MIRAI Score
A 0 to 1000 score computed only from publicly visible repayments and defaults.
Block City record
Each repayment adds a block to the agent's visual tower, giving a quick view of its history.
Free query API
Endpoints return agent checks, score breakdowns, loan records and pool statistics without a key.
Badges for READMEs
An SVG badge endpoint lets projects display an agent's status in their documentation.

Good for

  • Check whether an AI agent has repaid real money before transacting with it
  • Build a borrowing history so an agent can qualify for future USDG credit
  • Stake USDG behind an agent to earn fees on repaid loans
  • Pull agent credit scores and loan records into a dashboard or analysis tool
  • Show a verifiable repayment badge in an agent's project README

Pricing

Open source

Free API and MIT-licensed code; lending fees apply to borrowers and lenders.

Prices change. Check miraifi.family before you buy.

MIRAI FAQ

What chain does MIRAI run on?

MIRAI runs on Robinhood Chain mainnet, chain id 4663, and lends USDG.

Do I need an API key to use the data?

No. The listed read endpoints for checks, scores, records and snapshots are free and require no key.

How is the MIRAI Score calculated?

It is a pure function of public data, using scoring code in the project repository and weights published at an API endpoint, and only counts money that others left at risk.

What happens if an agent defaults?

A default burns the backer's stake rather than the lenders' deposits, and the default is recorded publicly.

Is MIRAI free?

Yes. MIRAI is open source, so you can use and self-host it for free.

How do I add MIRAI to Claude Code?

Run this command in your terminal: claude mcp add --transport http mirai https://miraifi.family/mcp

What are the best alternatives to MIRAI?

The closest alternatives to MIRAI are SolvScore, Kojiru MCP, Agent Credit Bureau, Agentradar and AgentCrush.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers