Skip to main content
Glama
plugin-federation

units-static

units-static

固定換算テーブルを備えた高品質な単位変換 MCP サーバーです(ネットワーク I/O なし)。 meteo-static のコンパニオンドッグフードで、このリポジトリは良い MCP のベースラインです。 ツールは、スキーマの明確さを評価するジャッジが高いスコアを得られるよう設計されています(明確な名前、詳細な説明、厳格な enum、型付き出力スキーマ)。

ツール

ツール

説明

list_units

サポートされている単位 ID を一覧表示します(次元でフィルタリング可能)

convert_length

SI 単位とヤード・ポンド法単位の間で長さを変換します

convert_mass

質量 / 重量を変換します

convert_temperature

°C / °F / K を変換します(絶対零度未満は拒否)

convert_volume

液体の体積を変換します(米国 + ヤード・ポンド法 + SI)

compare_quantities

同じ次元の 2 つの数量を比較します

Related MCP server: gnomon-mcp

設計目標(ジャッジに優しい)

  • 名前: 小文字・説明的・動詞で始まる(convert_*list_*compare_*

  • 説明: ツールを呼び出すタイミング、ツールが行うこと、使用すべきでない用途

  • 入力: クローズドな enum / 制約付きフィールド(パラメータごとの説明付き)

  • 出力: Pydantic モデル → MCP の outputSchema オブジェクト(裸の配列は不可)

  • 決定性: 静的な係数テーブルを使用。CI での評価に安全

実行方法

STDIO(デフォルト)

pip install -r requirements.txt
python src/server.py

Streamable HTTP

pip install -r requirements.txt
python src/server.py --transport http --port 8000

tools/list のエクスポート(ローカル)

pip install -r requirements.txt
python scripts/export_tools_list.py --output ci/tools-list.json

GitHub Actions

plugin-federation/actions の共有アクション:

ジョブ

目的

tools-list-validate

tools/list のエクスポート + 構造検証

nexus-catalog

OIDC → カタログ、スキーマ検証、選択サーフェス用の埋め込み、LLM-as-judge(fail-on-judge-fail

evals

機能評価(evals/evaluations.xml100% しきい値)

Nexus パイプラインのセットアップ

変数 / シークレット

目的

NEXUS_URL

例: https://api.nonprod.plugin-federation.com

NEXUS_OIDC_AUDIENCE

Nexus の GitHub オーディエンスと一致する必要があります

TENANT_ID

対象テナントの UUID

MCP_SOURCE_ID

このサーバー用の新しい安定ツールソース UUID

XAI_API_KEY

ジャッジモデル + 機能評価

OPENAI_API_KEY

埋め込み(text-embedding-3-small

埋め込みは、名前 + 説明 + 入力スキーマ(tool-embedding-report/v1)を使用します。 埋め込みに失敗してもジャッジは失敗しません。類似性レポートは、profileVersionmodeltext-embedding-3-small に一致する登録済みセマンティック解析プロファイルから Nexus によって導出されます(短縮されない限り 1536 次元)。 CI はそのプロファイルを作成できません。

また、このリポジトリをテナントの OIDC トラストポリシーに登録し(meteo-static と同じパターン)、units-static 用の専用ツールソースを作成してください。

ステータス

  • 動作 — stdio + streamable HTTP

  • ツール — 構造化 I/O を備えた 6 つの変換ツール

  • CI — ハードフェイルゲート付きの Plugin Federation Actions

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A comprehensive suite of four MCP servers providing real-time stock market data, currency conversion between 160+ currencies, world timezone conversion, and unit conversion across 10 measurement categories. Features beautiful web interfaces and ChatGPT integration capabilities.
    -
  • A
    license
    A
    quality
    C
    maintenance
    A small MCP server for the boring-but-essential utilities every model needs: dates, calendars, arithmetic, unit conversion. Use it so your assistant stops "next-token guessing" math and date math.
    4
    1
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    A comprehensive MCP server that turns any AI assistant into a powerful mathematical computation engine, providing 52 advanced functions, 158 unit conversions, financial calculations, and secure AST-based evaluation.
    18
    13
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    An MCP server providing deterministic base conversions (binary, hex, octal, decimal, base64) for AI agents, eliminating hallucination risks in low-level data processing.
    18
    3
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/plugin-federation/units-static'

If you have feedback or need assistance with the MCP directory API, please join our Discord server