Swiss Meteo MCP

Swiss Meteo MCP

An experimental MCP server that provides weather information tools, including temperature lookup via wttr.io, along with note-taking capabilities for learning MCP server development with GitHub Copilot.

Category
Visit Server

README

swiss_meteo_mcp

This is an experimental project to learn about MCP + GitHub Copilot, using the latter to create the MCP server code and then access it through the Chat funciton of copilot. I also managed to use the MCP server through Amazon Q chat (see further below).

Journey

  • I prompted the goal as stated above for an initial pass.
  • After uvicorn was used wrongly in the .vscode/mcp.json config, which is for http endpoints, not for stdio ones, debugging back and forth with copilot fixed the issue and I had a running MCP server scaffolded (that were unrelated to swiss meteo):
  • Availabilities:
    • prompt to summarise text, which could either be detailed or brief (/mcp.swiss-meteo-mcp.summarize-notes ).
    • tool to add a note (#add-note).
    • resource to list notes, not accessible explicitly (just implicitly) through copilot chat.
  • One can see below that it works as expected, with autocompletion, after the server was started:

alt text

alt text

  • I wanted to add a tool to get the current weather from swiss meteo (hence the name of the package), but there is no official API I found out with copilot chat.
  • I then asked for a few alternatives and decided to go with wttr.io and let copilot implement it.
  • I also factored out some functionality so I could let copilot write a simple unit test that worked.
  • So my own new tool is #get-temperature

Lessons Learned

in general

  • Building an MPC server seems a standard task. GitHub Copilot managed kind of well, but not flawless.

  • Integration of mcp servers is working well with copilot it seems.

  • Invocation of tools and resources is possible implicitly or explicitly. When used, it is communicated transparently in the copilot chat.

  • MCP servers can run locally (with like uv run or container isolation) or remotely.

  • MCP prompts are really just parametrised snippets.

  • resources are read-only info.

  • tools are supposed to have side effects.

GitHub Copilot

  • can also write git commit messages (not so impressive)
  • used 20% of free code suggestions in one day (and might be used for retraining).

Amazon Q

  • Can discover MCP server in .vscode/mcp.json in own project, start it when a relevant question is asked in the Q chat and use the tool to answer the question, but using Python source package not MCP tool over stdio.
  • to use the mcp server outside the source repo, we had to put the mcp.json file into the amazon q global directory at ~/.aws/amazonq/mcp/mcp.json and rename the servers: key to mcpServers: for Q to recognise it:
{
  "mcpServers": {
    "swiss-meteo-mcp3": {
      "type": "stdio",
      # not portable, most mcp servers use uvx run [pypiname.module@latest] to install on fly and run
      "command": "/Users/lorenz/git/swiss_meteo_mcp/.venv/bin/python", 
      "args": [
        "-m",
        "swiss_meteo_mcp.server"
      ]
    }
  }
}

alt text

Other

  • drag and drop screenshot into VS Code editor works well

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured