Skip to main content
Glama

Mirai MCP server

Official MCP server for the Mirai affordable chat completions API.

npx -y @satuapps/mirai-mcp

Guest quota works without a key. Set MIRAI_API_KEY for paid calls.

Client configs: mcp/README.md.

This repository is the public source for @satuapps/mirai-mcp. No application server code is included.

Available Tools

3 tools
account_statusBalance and quotaA
Read-onlyIdempotent

Read remaining guest quota when MIRAI_API_KEY is unset, or paid balance and subscription windows when a key is set. Does not send a chat. Use list_models for prices.

Inputs: no named parameters.

call_modelCall Mirai modelA

Send a chat completion to Mirai and return the assistant text. Use this only to generate a reply. Do not use this to look up prices or remaining quota; use list_models or account_status. Works without MIRAI_API_KEY while daily guest quota remains. With a key, uses the paid chat completions API.

Inputs: messages (required), model, max_tokens.

list_modelsModel catalog and pricingA
Read-onlyIdempotent

Read the live Mirai catalog and public USD price per million tokens. Use this before choosing a model. Does not send a chat. No API key required.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: account_status for quota/balance, call_model for sending chat completions, and list_models for model catalog and prices. There is no overlap or ambiguity.

    Naming Consistency4/5

    Two tools use a verb_noun pattern (call_model, list_models) while account_status is noun_noun, creating a minor inconsistency. However, all names are clear and follow a consistent lowercase snake_case style.

    Tool Count4/5

    With only 3 tools, the set is on the low end of the typical range, but each tool serves a necessary function for the Mirai API. It is well-scoped and not overloaded.

    Completeness4/5

    The tool surface covers the core operations: checking account status, sending chat completions, and listing models. There are no obvious gaps, though advanced features like streaming or conversation management are absent.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers