Weather MCP Server
Model Context Protocol server with integrated micropayment functionality. Built with Bun, TypeScript, and the ATXP payment system for monetizing LLM tool calls.
Features
MCP Protocol: Standardized tool interface for AI assistants
Payment Integration: ATXP middleware requiring USDC micropayments per tool call
Stateless Architecture: Per-request transport isolation for scalability
Type-Safe: Strict TypeScript with Zod v3 validation
High Performance: Bun runtime for fast execution
Tech Stack
Quick Start
Architecture
Each tool call validates payment before execution. The server creates a new StreamableHTTPServerTransport per request to prevent JSON-RPC ID collisions.
Tool Registration
API
POST / - Accepts MCP JSON-RPC 2.0 requests
TypeScript Config
verbatimModuleSyntax: true- Explicittypeimports requiredmoduleResolution: bundler- Optimized for Bunstrict: true- All strict checks enablednoEmit: true- Bun handles compilation
Key Dependencies
@modelcontextprotocol/sdk- MCP implementation@atxp/express- Payment middlewarezod@^3.23.8- Required for MCP SDK compatibilitybignumber.js- Precise monetary calculations
Built with Bun 🥟
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server with integrated ATXP micropayment functionality that requires USDC payments for each AI tool call execution.