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., "@mcp-serverWhat time is it?"
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.
MCP Server
An extensible Model Context Protocol (MCP) server with weather and time tools. Built for learning — connect it to Claude Desktop and start chatting.
Getting Started
1. Clone & Install
git clone <repo-url> && cd mcp-server
python3 -m venv .venv
source .venv/bin/activate # macOS / Linux / WSL
pip install -e .Or with uv:
git clone <repo-url> && cd mcp-server
uv venv
source .venv/bin/activate
uv pip install -e .2. Connect to Claude Desktop
Run the setup script to automatically write the Claude Desktop config file:
macOS:
python setup_claude_agent.pyThis writes ~/Library/Application Support/Claude/claude_desktop_config.json pointing to your project's .venv/bin/python.
If your project is in a non-standard location, pass it explicitly:
python setup_claude_agent.py --project-path /path/to/mcp-serverWindows (via WSL):
python3 setup_claude_agent.py --windows --win-user <YourWindowsUser> --wsl-user <YourWSLUser>For example:
python3 setup_claude_agent.py --windows --win-user Cam --wsl-user camThis writes %APPDATA%\Claude\claude_desktop_config.json and configures Claude Desktop to launch the server through WSL.
3. Restart Claude Desktop
Close and reopen Claude Desktop. To verify the server is connected, go to Settings → Developer — you should see mcp-server with a green running badge.
4. Try It Out
Ask Claude any of the following:
"What time is it?" — uses the
get_current_timetool"Get weather alerts for California" — uses the
weather://alerts/CAresource"What's the forecast for latitude 40.7128, longitude -74.0060?" — uses the forecast resource
You don't need to start the server manually — Claude Desktop launches it automatically.
Related MCP server: MCP Server
Available Tools & Resources
Type | Name | What it does |
Tool |
| Returns current time with automatic timezone detection |
Resource |
| Weather alerts for a US state (e.g. |
Resource |
| 5-period forecast for coordinates |
Prompt |
| Guides Claude through a full weather analysis |
Prompt |
| Helps with timezone checks, conversions, comparisons |
Adding Your Own Tools
Open src/mcp_server/server.py and add a function with the @mcp.tool() decorator:
@mcp.tool()
async def my_tool(param: str) -> str:
"""Description of what this tool does."""
return f"Result for {param}"Restart Claude Desktop to pick up the change.
For resources and prompts, see CONTRIBUTING.md.
Running Tests
pip install -e ".[dev]" # or: uv pip install -e ".[dev]"
pytestProject Structure
src/mcp_server/
├── server.py # MCP server entry point — register tools here
└── tools/
├── weather/ # Weather alerts & forecasts (NWS API)
├── time/ # IP-based timezone & current time
└── conversation/ # Conversation toolsLicense
MIT
Resources
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
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.Last updated19
- AlicenseAqualityDmaintenanceAn extensible MCP server with weather and time tools for Claude Desktop. It provides current time with automatic timezone detection, weather alerts for US states, and 5-period forecasts for coordinates.Last updated4MIT
- Alicense-qualityBmaintenanceAn MCP server providing AI-powered weather tools via Google Generative AI, enabling real-time weather data retrieval through natural language queries.Last updatedMIT
- Flicense-qualityDmaintenanceA simple MCP server that provides weather tools, deployable with Docker, and designed to be used with Claude Desktop via a WSL bridge.Last updated
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for Grok Imagine AI video generation
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/czabriskie/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server