Skip to main content
Glama

onecall-mcp

AIエージェント向けツールとして、本番環境でテスト済みの認証不要な公開APIを10件公開する MCP (Model Context Protocol) サーバー。

onecall をベースに構築。APIキー不要。Python標準ライブラリのみ。MIT。

weather_current(location)              # wttr.in
weather_forecast(lat, lon, days)       # open-meteo
fx_convert(amount, from, to)           # frankfurter (ECB)
fx_rates(base, symbols)                # frankfurter
crypto_price(ids, vs_currency)         # coingecko
geocode(query, limit)                  # openstreetmap nominatim
country_info(query)                    # REST Countries
time_in_zone(timezone)                 # timeapi.io
hn_front()                             # Hacker News top 10
hn_search(query, limit)                # Hacker News Algolia search

なぜこれが存在するのか

ほとんどのAIエージェントは、天気、為替、暗号通貨、ジオコーディング、時刻、国、ニュースの参照を呼び出す必要があります。そのデータはオープンウェブ上に無料で存在します。しかしエージェントが必要とするのはURLではなくツールです。このサーバーは、MCP互換のクライアント(Claude Desktop、Cursor、Windsurf、Cline、OpenAI Codex CLI など)すべてに、10個すべてを1つのプロセスで提供します。

Related MCP server: tes-mcp-server

インストール

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json に追加します:

{
  "mcpServers": {
    "onecall": {
      "command": "python3",
      "args": ["/path/to/onecall-mcp/src/onecall_mcp_server.py"]
    }
  }
}

Cursor

Settings → Features → Model Context Protocol → 新しいグローバルMCPサーバーを追加。同じ command/args を使用します。

Windsurf / Cline / その他

同じ構成です — command はPythonインタープリタ、argsonecall_mcp_server.py の絶対パスです。

検証

# End-to-end JSON-RPC over stdio test
bash tests/mcp_stdio_smoke.sh

最終実行: 10/10 PASS (2026-08-26)。Initialize、tools/list、tools/call はすべて、ライブAPIデータとともに正しいJSON-RPC 2.0を返します。

アーキテクチャ

  • 標準ライブラリのみ。 mcp パッケージへの依存なし、requests なし、SDKなし。urllib + json + asyncio のみ。

  • stdio JSON-RPC 2.0。 MCP仕様 2024-11-05 に準拠。

  • onecall の _lib/http.py を再利用し、リトライ、URLエンコーディング、統一エンベロープを実現。

  • --demo フラグ は、ツールカタログを出力し、ライブ呼び出しを1回実行します。健全性チェックに便利です。

スモークテスト結果 (2026-08-26)

=== Passed: 10  Failed: 0 ===

プロトコルハンドシェイク、機能ネゴシエーション、ツール発見、ツール呼び出し、ライブAPIレスポンスを網羅する10のアサーション。

ロードマップ

  • 残りの4つの onecall ラッパーを追加(sunrise、catfact、cataas、nager holidays)

  • HTTPトランスポート(現在はstdioのみ)

  • 呼び出しごとの使用状況トラッキング + x402 ステーブルコインペイウォール統合

  • glama.ai、smithery.ai、mcpmarket.com、mcpservers.org への掲載

ライセンス

MIT。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to access real-time and historical weather data through multiple weather APIs including OpenMeteo, Tomorrow.io, and OpenWeatherMap. Provides comprehensive meteorological information including current conditions, forecasts, historical data, and weather alerts.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Exposes public weather and climate data through a standardized API, allowing AI agents to retrieve current conditions, 7-day forecasts, and historical data. It enables weather-aware automation and data enrichment for conversational agents and travel planning.
  • F
    license
    Not graded
    quality
    B
    maintenance
    Provides 7 tools for weather (geocoding, current conditions) and country data (capital, currency, population, dial code, flag) via Open-Meteo and CountriesNow APIs, designed for multi-agent AI systems.
    1

View all related MCP servers

Related MCP Connectors

  • Real-world data for agents: air quality, geocoding, quakes, holidays, web search

  • Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

View all MCP Connectors

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/Matrix-ops77/onecall-mcp'

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