Weather MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverwhat's the weather forecast for Tokyo this weekend?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: @true402.dev/mcp-server
Tech Stack
Quick Start
# Install
bun install
# Configure .env
ATXP_CONNECTION="your-atxp-connection-url"
PORT=3000
# Development
bun run dev
# Production
bun run build
bun run startArchitecture
Client → Express → ATXP Payment → MCP Transport → Tool Handler → ResponseEach tool call validates payment before execution. The server creates a new StreamableHTTPServerTransport per request to prevent JSON-RPC ID collisions.
Tool Registration
server.registerTool(
"tool-name",
{
title: "Tool Title",
description: "What it does",
inputSchema: { param: z.string() },
outputSchema: { result: z.string() }
},
async (params) => {
await requirePayment({ price: BigNumber(0.01) });
return {
content: [{ type: "text", text: JSON.stringify(output) }],
structuredContent: output
};
}
);API
POST / - Accepts MCP JSON-RPC 2.0 requests
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": { "name": "tool-name", "arguments": {} },
"id": 1
}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
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
Alicense-qualityCmaintenanceAn MCP server that enables AI agents to search, pay for, and call paid APIs using the x402 protocol, with automatic USDC settlement.2MIT- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to access paid AI inference and web tools via HTTP 402 micropayments in USDC on Base, using the agent's wallet as identity.14524MIT
- Alicense-qualityDmaintenanceMCP server giving AI agents access to Stellar blockchain data with monetized tool calls via x402 micropayments.15MIT
- Alicense-qualityDmaintenanceMCP server with X402 payment integration, enabling AI agents to access paid tools like weather, web search, and image generation with crypto payments via MetaMask on Base network.MIT
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
MCP marketplace: agents pay per call in USDC via x402. Plus Base chain data and a USDC<->bank ramp.
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/drsullivan13/weather-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server