Skip to main content
Glama

onecall-mcp

An MCP (Model Context Protocol) server exposing 10 production-tested no-auth public APIs as tools for AI agents.

Built on top of onecall. Zero API keys. Stdlib 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

Why this exists

Most AI agents need to call weather, FX, crypto, geocoding, time, country, and news lookups. The data is on the open web for free. But the agent needs tools, not URLs. This server gives any MCP-compatible client (Claude Desktop, Cursor, Windsurf, Cline, OpenAI Codex CLI, etc.) all 10 in one process.

Related MCP server: tes-mcp-server

Install

Claude Desktop

Add to ~/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 → Add new global MCP server. Same command/args.

Windsurf / Cline / others

Same shape — command is the python interpreter, args is the absolute path to onecall_mcp_server.py.

Verify

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

Last run: 10/10 PASS (2026-08-26). Initialize, tools/list, tools/call all return correct JSON-RPC 2.0 with live API data.

Architecture

  • stdlib only. No mcp package dependency, no requests, no SDK. Just urllib + json + asyncio.

  • stdio JSON-RPC 2.0. Per MCP spec 2024-11-05.

  • Reuses onecall's _lib/http.py for retries, URL encoding, uniform envelope.

  • --demo flag prints the tool catalog + runs one live call, useful for sanity checks.

Smoke-test receipts (2026-08-26)

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

10 assertions covering: protocol handshake, capability negotiation, tool discovery, tool invocation, live API response.

Roadmap

  • Add the remaining 4 onecall wrappers (sunrise, catfact, cataas, nager holidays)

  • HTTP transport (currently stdio only)

  • Per-call usage tracking + x402 stablecoin paywall integration

  • Listing on glama.ai, smithery.ai, mcpmarket.com, mcpservers.org

License

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