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 installed
Maintenance
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
- 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.
- AlicenseAqualityCmaintenanceEnables 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 gradedqualityBmaintenanceProvides 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
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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