Srgssr MCP logo

Srgssr MCP

Access Swiss weather, media metadata, program schedules, votations, and elections through SRG SSR APIs over MCP.

Install Srgssr MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "srgssr-mcp": {
      "command": "uvx",
      "args": [
        "srgssr-mcp"
      ],
      "env": {
        "SRGSSR_CONSUMER_KEY": "YOUR_VALUE_HERE",
        "SRGSSR_CONSUMER_SECRET": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env SRGSSR_CONSUMER_KEY=YOUR_VALUE_HERE --env SRGSSR_CONSUMER_SECRET=YOUR_VALUE_HERE --transport stdio srgssr-mcp -- uvx srgssr-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 15 tools correctly ().

Overview

The srgssr-mcp MCP server connects AI assistants to SRG SSR public APIs for Swiss weather, TV and radio metadata, electronic program guides, votations, and elections. It exposes domain-specific MCP tools for location lookup, forecasts, show and episode retrieval, livestream discovery, schedules, and historical democratic data. Credentials come from the SRG SSR developer portal, while the server handles OAuth2 client-credentials token management. Reach for it when an agent needs current SRG SSR data or historical Swiss voting information through stdio or HTTP-based MCP transport.

Use cases

  • Check current and forecast weather for a Swiss location
  • Find SRG SSR TV or radio shows and recent episodes
  • List live television channels or radio stations
  • Query daily schedules for SRG SSR channels
  • Research historical Swiss votations and elections

Key features

  • Swiss location search and weather forecasts
  • TV show, episode, and livestream discovery
  • Radio show, episode, and station discovery
  • Daily TV and radio program schedules
  • Historical votation and election data
  • stdio, SSE, and streamable HTTP transports

Tools15

What Srgssr MCP lets your agent do. Expand a tool for its parameters.

Verified live~5.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 78d

What it can do

From the 15 tools this server returned when we ran it; 15 declare their own safety hints.

Makes network requests · 15Read-only tools · 15
Network at startup2 connections
Files written at startup10

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · srgssr-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed15Callable tools this server registers over MCP.

How Srgssr MCP works

What srgssr-mcp does

The srgssr-mcp MCP server provides one MCP interface for several SRG SSR public API areas: SRF Meteo weather, SRG SSR television and radio metadata, electronic program guides, and Polis data about Swiss votations and elections. The covered media units include SRF, RTS, RSI, RTR, and SWI where supported by the underlying APIs.

Weather tools first resolve a Swiss place by name or postal code, returning a geolocationId for subsequent current-condition and forecast requests. Forecast options include hourly data for the next 24 hours and daily data for seven days.

Media tools list TV and radio shows, retrieve recent episodes, and find live channels or stations. The EPG tool returns a daily schedule for a selected TV or radio channel. Polis tools query popular votes from 1900 onward, return detailed results for an individual vote, and retrieve election results at national or cantonal scope.

How it works

The srgssr-mcp MCP server translates MCP calls into requests to SRG SSR public APIs and returns structured JSON responses. It uses OAuth2 with the client-credentials flow, obtaining access tokens from the Consumer Key and Consumer Secret configured by the operator.

The server supports three transport values: stdio, which is the default for local clients; sse; and streamable-http, which can be used for browser or cloud deployments. Host, port, and mount-path settings are controlled through environment variables when running an HTTP-based deployment.

In addition to tools, the implementation includes MCP resources for daily EPG entries and immutable closed-votation results. It also provides prompts for structured voting analysis and a daily canton briefing that combines weather and EPG information.

Setup and configuration

Use Python 3.11 or newer. Register at the SRG SSR developer portal, create an application, add the SRG SSR PUBLIC API V2 product, and copy the resulting Consumer Key and Consumer Secret. The APIs are documented as available for non-commercial use; commercial users are directed to contact SRG SSR.

Install from PyPI with pip install srgssr-mcp, install the editable package from a repository checkout, or launch it without permanent installation using uvx srgssr-mcp. Set these required variables before starting the process:

  • SRGSSR_CONSUMER_KEY
  • SRGSSR_CONSUMER_SECRET

Running srgssr-mcp starts the default stdio mode. For an HTTP deployment, run the server module and set SRGSSR_MCP_TRANSPORT, SRGSSR_MCP_HOST, and SRGSSR_MCP_PORT as needed. Claude Desktop can launch the command with uvx and pass the credentials through its MCP configuration; the same credentials are used by the other documented clients.

Tools and capabilities

The tool names use the srgssr_<domain>_<action> pattern. Weather operations cover location search, current conditions, 24-hour forecasts, and seven-day forecasts. Video operations list shows by business unit, fetch the latest episodes for a show, and list live TV channels. A show listing can be narrowed with an initial character; omitting that filter fans out across the available business units.

Audio operations list shows for a required radio channel_id, retrieve audio episodes, and list live radio stations. The v2 API does not provide an audio show listing by business unit, so a channel identifier is required.

The EPG operation obtains one day of programming for a TV or radio channel. Polis operations search historical popular votes, fetch a specific vote's detailed results, and retrieve election results. The resources and prompts extend these capabilities for cacheable schedules, closed-vote results, repeatable voting analysis, and canton-focused daily briefings.

Limitations and notes

The server requires SRG SSR API credentials and network access to the provider's public APIs. Audio show discovery must be performed by radio channel rather than business unit because of the v2 API shape. EPG station identifiers are hyphenated and differ from livestream identifiers, so callers should use the identifier format expected by the selected operation.

The available data is limited to the domains and coverage exposed by SRG SSR: Swiss weather locations, SRG SSR media metadata and schedules, and Polis voting and election records.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Srgssr MCP

srgssr-mcp is an MCP server that connects AI assistants to SRG SSR public APIs. Its main tools cover Swiss weather lookup and forecasts, TV and radio shows, episodes and livestreams, daily EPG schedules, and Swiss Polis votations and election results. It uses OAuth2 credentials supplied through environment variables.

Install it with `pip install srgssr-mcp`, use `uvx srgssr-mcp`, or install the package from a repository checkout. Python 3.11 or newer is required. Before starting it, configure the Consumer Key and Consumer Secret obtained from the SRG SSR developer portal.

Yes, srgssr-mcp is documented as compatible with Cursor. Configure the client to launch the server and provide `SRGSSR_CONSUMER_KEY` and `SRGSSR_CONSUMER_SECRET`; the default local transport is stdio.

Set `SRGSSR_MCP_TRANSPORT` to `sse` or `streamable-http` and configure the host and port variables before running `python -m srgssr_mcp.server`. The server also supports stdio, which is the default transport.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSrgssr MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/srgssr-mcp?style=directory)](https://allmcps.com/mcp/srgssr-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/srgssr-mcp"><img src="https://allmcps.com/api/badge/srgssr-mcp?style=directory" alt="Srgssr MCP on AllMCPs" /></a>