Skip to main content
Glama
Br0ski777

unit-converter

by Br0ski777

Unit Converter API

MCP Server x402 License: MIT

長さ、重量、温度、体積、速度、データ容量の単位を変換できます。変換式も含まれます。x402 によるコールごとの支払い(Base L2 上の USDC)で、API キー不要・登録不要・レート制限なしです。

klymax402 マーケットプレイスの一部として提供しています。AI エージェント向けの x402 マイクロペイメント API を、1つのウォレットと Base 上の USDC で利用できます。

クイックスタート -- MCP

MCP クライアント設定(Claude Desktop、Cursor、ElizaOS など)に追加してください:

{
  "mcpServers": {
    "unit-converter": {
      "url": "https://unit-converter.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: ucon-mcp

クイックスタート -- HTTP (x402)

curl -X POST "https://unit-converter.api.klymax402.com/api/convert" \
  -H "Content-Type: application/json" \
  -d '{"value":"1","from":"...","to":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

x402 対応クライアント(@x402/fetch、x402-agent-tools、ATXP)は、402 → 署名 → リトライの処理を自動的に行います。

ツール

ツール

メソッド

パス

価格

説明

utility_convert_units

POST

/api/convert

$0.000

測定単位の値を変換する

utility_convert_units

測定単位の変換が必要なときに使用します。変換結果と計算式を JSON で返します。

使用場面: 計算、データ分析、サイエンティフィックコンピューティング、レシミの分量調整、エンジニアリングアプリケーションでの単位変換。

対象外: 通貨換算(finance_convert_currency を使用)、タイムゾーン変換(utility_convert_timezone を使用)、株価(finance_get_stock_price)。

具体的な使い方

まず、以下のような クエンス:

{"inputValue":100,"from":"km","to":"mi","result":62.1371,"formula":"100 km * 0.621371 = 62.1371 mi","category":"length"}

エージェント プロンプト例

  • 「測定単位の間を変換して」

支払い

  • プロトコル: x402 -- HTTP ネイティブのコールごとの支払い、サイン登録不要、APIキー不要

  • ネットワーク: Base L2 (eip155:8453)

  • アセット: USDC

  • ファシリテーター: Coinbase CDB(プライマリ)、PayAI(フォールバック)

  • ATXP からも利用可能(OK、OAuth でラップされた x402、RFC 9728 の保護リソース・メタデータ)

klymax 402 の一部

AI エージェント向けのマイクロペイメント API を 100 コ提供する klymax402マーケットプレイス。1つのウォレット、Base 上の USDC、サインアップ不要。

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides precise conversions between different units of measurement including temperature, length, weight, and volume.
    16
    9
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Verified unit conversion and dimensional analysis for AI agents. 190+ units, 31 domain formulas (clinical, physics, aerospace, SRE), physical constants with uncertainty propagation. Refuses invalid conversions structurally: the tool that won't convert mg to mL and knows the difference between torque and energy.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables unit conversion for length, weight, temperature, and currency using simple tools, with a free tier and paid upgrade for higher usage.
    8 npm
    49 PyPI
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Converts units, currencies, timezones, and dates with a generous free tier of 500 calls/month.
    1
    -