Valencia Smart City MCP server

Valencia Smart City MCP server

smartcitymcp•bysosanzma

An MCP server that exposes Valencia urban data tools covering real-time traffic, Valenbisi bike availability, air quality stations and Open-Meteo weather data.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides traffic tools to get current road segment status, congestion summaries and search road segments by name.
  • •Offers Valenbisi bike-sharing tools to find stations with available bikes and inspect station status.
  • •Exposes air quality tools for city-wide summaries, nearest station lookup, pollutant levels and mapping data.
  • •Includes weather tools for current conditions, forecasts, historical data and daily summaries from Open-Meteo.

BEST FOR

  • •Checking current traffic conditions and congestion in Valencia through an LLM.
  • •Finding nearby Valenbisi bikes and assessing air quality or pollution levels across the city.
  • •Asking about Valencia weather forecasts, rain, or historical temperatures.

ABOUT SMARTCITYMCP

Valencia Smart City MCP server is cataloged as an MCP server attributed to sosanzma. An MCP server that exposes Valencia urban data tools covering real-time traffic, Valenbisi bike availability, air quality stations and Open-Meteo weather data. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Valencia Smart City MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What data sources does the server use?

It uses Valencia's open data platform for traffic, Valenbisi bike stations and air quality, plus the Open-Meteo API for current, forecast and historical weather data.

Which pollutants can I query?

The pollutant levels tool accepts pollutant types so2, no2, o3, co, pm10 and pm25.

上游原版 README

在 GitHub 查看同一版本原文

README.md · e3c833e90b26 · 采集于 2026-11-13 11:58:12 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Valencia Smart City MCP Server

MCP server providing real-time traffic, bike-sharing, air quality and weather data from Valencia, Spain for Claude and other LLMs.

Features

  • Real-time traffic conditions across Valencia
  • Valenbisi bike station availability
  • Air quality monitoring data from city stations
  • Weather data from Open-Meteo API (current, forecast, and historical)
  • Traffic congestion analysis
  • Search capabilities for specific roads, bike stations, or air quality information

Demo

Check out a live demos of this MCP in action with Claude Desktop :

Air quality: Claude MCP Demo Chat Air quality

Bike-sharing with Valenbisi : Claude MCP Demo Chat Valenbisi

Traffic : Claude MCP Demo Chat Traffic

Weather : Claude MCP Demo Chat Weather

This shared conversation demonstrates how Claude can access and analyze real-time Valencia urban data through the MCP.

Requirements

  • Python 3.10+
  • Claude Desktop or other MCP-compatible client
  • Internet connection

Installation

# Clone the repository
git clone https://github.com/sosanzma/SmartCityMCP.git
cd SmartCityMCP

# Install dependencies
pip install -r requirements.txt

Tools

The server exposes these tools:

Traffic Tools

  • get_traffic_status

    • Get current traffic status for road segments
    • Input: state_filter (optional, integer[]) - Filter by traffic state codes
    • Returns: List of road segments with their traffic states
  • get_congestion_summary

    • Get summary of current traffic congestion in Valencia
    • Returns: Statistics including congested segments and percentages
  • search_road_segment

    • Search for specific road segments by name
    • Input: name_query (string) - Case-insensitive search term
    • Returns: List of matching road segments with current state

Bike Sharing Tools

  • find_available_bikes

    • Find bike stations with available bikes
    • Inputs:
      • min_bikes (integer, default: 1) - Minimum number required
      • near_address (string, optional) - Address to search near
    • Returns: List of stations matching criteria with availability info
  • get_bike_station_status

    • Get detailed status of bike stations
    • Input: station_id (string, optional) - For specific station
    • Returns: Detailed status including bikes available and free slots

Air Quality Tools

  • get_air_quality_summary

    • Get overview of air quality across Valencia
    • Returns: Summary statistics of pollutant levels and air quality ratings
  • find_nearest_air_station

    • Find closest air quality monitoring station to coordinates
    • Inputs:
      • latitude (float) - Latitude coordinate
      • longitude (float) - Longitude coordinate
    • Returns: Nearest station details with distance and current readings
  • get_station_data

    • Get detailed information about air quality monitoring stations
    • Input: station_name (string) - Name to search for (partial match)
    • Returns: Detailed pollutant data for matching stations
  • get_pollutant_levels

    • Get levels of a specific pollutant across all stations
    • Input: pollutant (string) - Pollutant type (so2, no2, o3, co, pm10, pm25)
    • Returns: Measurements of specified pollutant with statistics
  • get_air_quality_map

    • Get geospatial data of air quality stations for mapping
    • Returns: Location data with quality ratings and pollutant levels

Weather Tools

  • get_current_weather

    • Get current weather conditions in Valencia
    • Returns: Current weather data including temperature, humidity, wind speed, and weather description
  • get_weather_forecast

    • Get weather forecast for Valencia
    • Input: days (integer, default: 3) - Number of days to forecast (1-7)
    • Returns: Hourly weather forecasts for the requested period
  • get_historical_weather

    • Get historical weather data for Valencia
    • Inputs:
      • start_date (string) - Start date in YYYY-MM-DD format
      • end_date (string) - End date in YYYY-MM-DD format
    • Returns: Historical weather data for the specified period
  • get_daily_weather_summary

    • Get daily weather summary for Valencia
    • Input: day_offset (integer, default: 0) - Day offset (0=today, 1=tomorrow, etc.)
    • Returns: Daily weather summary with min/max/avg values

Claude Desktop Integration

Add this to your claude_desktop_config.json (typically found in %APPDATA%\Claude on Windows or ~/Library/Application Support/Claude on macOS):

{
  "mcpServers": {
    "valenciaSmartCity": {
      "command": "uv",
      "args": ["run", "valencia_traffic_mcp.py"]
    }
  }
}

Alternatively, install directly with:

mcp install valencia_traffic_mcp.py --name "Valencia Smart City"

Development

Run the server directly:

# Run with MCP Inspector for development
mcp dev valencia_traffic_mcp.py

# Run directly (stdio transport)
python valencia_traffic_mcp.py

Example Queries

  • "How's the traffic in Valencia right now?"
  • "Are there any congested streets in downtown Valencia?"
  • "Where can I find a Valenbisi bike near the City Hall?"
  • "What's the air quality like in Valencia today?"
  • "Which areas of Valencia have the highest pollution levels?"
  • "What's the nearest air quality monitoring station to the train station?"
  • "Show me the NO2 levels across Valencia"
  • "What's the weather forecast for Valencia this week?"
  • "Will it rain tomorrow in Valencia?"
  • "What were the temperatures in Valencia last week?"
  • "Is it a good day for cycling in Valencia today?"

Data Sources

This server connects to the following data sources:

  • Valencia's open data platform:

    • Traffic data: estat-transit-temps-real-estado-trafico-tiempo-real
    • Bike stations: valenbisi-disponibilitat-valenbisi-disponibilidad
    • Air quality: estacions-contaminacio-atmosferiques-estaciones-contaminacion-atmosfericas
  • Open-Meteo API:

    • Current weather data
    • Weather forecast
    • Historical weather data

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Valencia Smart City MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/smartcitymcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools