MCP Tool Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Tool Server
A production-oriented MCP (Model Context Protocol) server that exposes tools to AI agents, built on FastMCP + FastAPI, with Docker support.
Built as a learning/portfolio project referencing the architecture of PrefectHQ/fastmcp, extended with several original pieces:
Auto-discovery tool registry — drop a file with a
register(mcp)function intoapp/tools/and it's picked up automatically. No manual wiring inmain.py.Per-client rate limiting — in-memory token bucket, keyed by API key.
API key auth on the HTTP surface (
/tools/*endpoints), independent from the raw MCP protocol endpoint.Structured logging with per-request IDs and timing.
/health and /metrics endpoints for basic observability.
Tools included
Tool | Description |
| Current weather for a lat/lon (Open-Meteo API) |
| Live FX conversion between currencies |
| Word/sentence count + estimated reading time for text |
| Server introspection (uptime, platform, python version) |
Related MCP server: mcp_server
Running locally
pip install -r requirements.txt
python -m app.mainServer starts on http://localhost:8000.
MCP protocol clients connect to
http://localhost:8000/mcpHTTP clients can call
POST /tools/{tool_name}/invokewith headerx-api-key: <key>
Running with Docker
docker compose up --buildAdding a new tool
Create app/tools/my_tool.py:
def register(mcp) -> str:
@mcp.tool()
def my_tool(x: int) -> int:
"""Doubles a number."""
return x * 2
return "my_tool"That's it — no changes to main.py needed, it's discovered on startup.
Tests
pytest tests/Environment variables
Variable | Default | Description |
| 8000 | Server port |
| (empty = no auth) | Comma-separated allowed API keys |
| 20 | Max burst requests per client |
| 2 | Token refill rate per second |
| INFO | Logging verbosity |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
380+ live data, validation and utility APIs in one MCP server: IP, DNS, email, FX, weather and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server providing file, system, math, and text utilities through a simple CLI client.-
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server providing currency conversion, geocoding, and weather tools, with a CLI client supporting Spanish special commands.-
- AlicenseNot gradedqualityDmaintenanceA simple MCP server providing weather lookup and number addition tools.ISC
- FlicenseBqualityDmaintenanceA small MCP server that provides a single tool to get current weather for any city via a proxy endpoint.1-