onecall-mcp
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インタープリタ、args は onecall_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。
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time data API for AI Agents: stocks, weather, forex, logistics, search, scrape, news, IP.
70+ pay-per-call tools for AI agents: web search, email verify, KYC, stocks, crypto, news, data
Free APIs for AI agents: web reading, text slicing, clock, ID keys, 1MB memory. No signup or fees.
- jigwellOAuthsite.jigwell
Pay-per-call tools for AI assistants: code, data, finance, spreadsheets, media, web, time.
1
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
- FlicenseNot gradedqualityDmaintenanceExposes 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.-
- AlicenseAqualityDmaintenanceEnables access to 11 free public APIs including weather, country info, NASA data, dictionary, and more, with zero configuration and no API keys required.12MIT
- FlicenseNot gradedqualityDmaintenanceProvides 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-