- Home
- MCP servers
- Swiss Meteo
Swiss Meteo
- python
0
GitHub Stars
python
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"lorenzwalthert-swiss_meteo_mcp": {
"command": "/Users/lorenz/git/swiss_meteo_mcp/.venv/bin/python",
"args": [
"-m",
"swiss_meteo_mcp.server"
]
}
}
}This MCP server lets you expose a local Python-based service as an MCP endpoint you can interact with from compatible clients. It provides a simple, local way to run and test your MCP-powered features, including chat-driven tools and integrations, without needing a remote host. You can start the server in stdio mode and connect to it from MCP clients or automation tools that support the MCP protocol.
How to use
To use the MCP server, start it in stdio mode so a local process can communicate with your client. The server runs as a Python module and is launched from your environment. You can discover and interact with the MCP server from compatible clients by initiating the stdio connection and issuing tool commands or prompts. One common workflow is to run the server in the background and then issue requests from your client to access its available tools and endpoints.
How to install
Prerequisites: you need Python available on your system. Create a Python virtual environment, activate it, and run the server using the exact command shown for stdio mode.
# Prerequisites: ensure Python is installed on your system
# 1) Create a virtual environment
python3 -m venv .venv
# 2) Activate the virtual environment
# macOS/Linux
source .venv/bin/activate
# Windows (PowerShell)
.\.venv\Scripts\Activate.ps1
# 3) Run the MCP server in stdio mode using the explicit command from the config snippet
python -m swiss_meteo_mcp.server
Additional notes and configuration
The server can be configured to run locally or be accessed remotely depending on your setup and the client you use. In some environments, you can start the MCP server from a project-wide configuration or from a global launcher. The server is designed to be discoverable by compatible clients and to respond to tool invocations as described in your MCP client’s workflow.
Here is an explicit configuration example for stdio mode that you can adapt to your environment. It shows starting the server with a Python runtime and the module path.
{
"mcpServers": {
"swiss_meteo_mcp3": {
"type": "stdio",
"command": "/Users/lorenz/git/swiss_meteo_mcp/.venv/bin/python",
"args": [
"-m",
"swiss_meteo_mcp.server"
]
}
}
}
Available tools
summarize-notes
Summarize notes with either detailed or brief output, enabling quick extraction of key points.
add-note
Add a new note to the internal note collection using the provided command.
get-temperature
Fetch the current temperature from Swiss Meteo resources using an external data source as the backend.