Vinkius
Renfe Data

Renfe Data MCP for AI. Monitor Spain's railway network live.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Renfe Data MCP on Cursor AI Code EditorRenfe Data MCP on Claude Desktop AppRenfe Data MCP on OpenAI Agents SDKRenfe Data MCP on Visual Studio CodeRenfe Data MCP on GitHub Copilot AI AgentRenfe Data MCP on Google Gemini AIRenfe Data MCP on Lovable AI DevelopmentRenfe Data MCP on Mistral AI AgentsRenfe Data MCP on Amazon AWS Bedrock

Connect to your AI in seconds.

Renfe Data provides direct access to Spain's national railway network data. You get real-time GPS coordinates for Cercanías and Long Distance trains (AVE/LD/MD).

It also gives you static GTFS schedules, service alerts, and a searchable repository of thousands of open government datasets.

What your AI can do

Ckan datastore search

Searches specific data resources within the Renfe Data portal using keywords or filters.

Ckan package list

Retrieves a list of all available dataset names hosted in the Renfe Data repository.

Ckan package show

Gets detailed metadata about one specific dataset, including its structure and source.

+ 8 more capabilities included
Track Live Vehicle Positions

Retrieves the current GPS coordinates and movement status of trains (Cercanías or Long Distance) at set intervals.

Check Service Alerts and Delays

Gathers real-time information on track incidents, planned service changes, or system-wide disruptions across the network.

Search Open Datasets

Uses the CKAN tools to list, search, and view metadata for thousands of available railway datasets.

Retrieve Static Schedules (GTFS)

Fetches direct download URLs containing standardized GTFS schedules and station lists for offline application development.

Monitor Trip Updates

Provides updates on specific train routes, indicating if a service is running on time or if there's an expected delay/cancellation.

Included with Plan

Waiting for input…

AI Agent

Renfe Data MCP Server: 11 Tools for Rail Operations

These tools let your agent query the entire scope of the Renfe network, ranging from listing open datasets via CKAN to getting live vehicle coordinates.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using Renfe Data on Vinkius

Ckan Datastore Search

Searches specific data resources within the Renfe Data portal using keywords or filters.

Ckan Package List

Retrieves a list of all available dataset names hosted in the Renfe Data repository.

Ckan Package Show

Gets detailed metadata about one specific dataset, including its structure and...

Ckan Resource Show

Retrieves metadata for a specific data resource within a package.

Get Avisos

Checks planned service modifications or track incidents across the network.

Get Static Datasets

Lists direct download URLs for comprehensive static datasets like schedules and station lists.

Rt Alerts Cercanias

Gets real-time service alerts specifically for the Cercanías (commuter) lines, updating every 20 seconds.

Rt Trip Updates Cercanias

Provides live trip status updates for Cercanías trains, showing delays or...

Rt Trip Updates Ld

Gets real-time trip updates for Long Distance (AVE/LD/MD) services, updating...

Rt Vehicle Positions Cercanias

Retrieves the live GPS position and movement status of Cercanías trains, updated...

Rt Vehicle Positions Ld

Gets real-time vehicle positions for Long Distance (AVE/LD/MD) services, updated...

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The Renfe Data integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with Renfe Data, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,100+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
Renfe Data MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Renfe Data. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This connection provides 11 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.

Checking train status used to mean opening three different websites and cross-referencing PDFs.

Today's process is a nightmare of tabs. You open Renfe’s main site, check the line map for a general alert, then jump to another page to see if there are any specific delays listed by trip number. If you want historical schedules, you download a separate GTFS file, which probably isn't up-to-date anyway. It takes 15 minutes and three copies of your coffee.

With the Renfe Data MCP Server, you ask your agent one question: 'What's the status on Line C3 today?' The agent runs `rt_trip_updates_cercanias` and spits out a single, structured response detailing delays or confirmations. You get an accurate answer in seconds.

The Renfe Data MCP Server gives you live position data with `rt_vehicle_positions_cercanias`.

Before this, tracking a train meant relying on infrequent updates or physical signs. You'd only know the train was 'approaching' when it got close enough to report its status—it wasn't precise, and you couldn't build anything dynamic with that data.

Now, `rt_vehicle_positions_cercanias` provides a continuous stream of GPS coordinates. Your agent can use this minute-by-minute location data to power real-time map visualizations or trigger alerts the moment a train deviates from its expected path.

What your AI can actually do with this

You connect your AI agent to this server to access Spain's national railway data—it’s got everything from live GPS coordinates to thousands of open government datasets. When you use it, you get real-time operational status and static resources all in one spot.

Real-Time Tracking

You can track where trains are right now. For the commuter lines (Cercanías), rt_vehicle_positions_cercanias gives you the live GPS coordinates and movement status, updating every 20 seconds. If you need to know if a Cercanías train is delayed or canceled, rt_trip_updates_cercanias provides that specific trip status update, also refreshing every 20 seconds.

For Long Distance services (AVE/LD/MD), the system tracks vehicle positions using rt_vehicle_positions_ld, which updates roughly every 15 minutes. To get a direct read on whether an entire long-distance service is delayed or canceled, you use rt_trip_updates_ld; this update comes through around every 30 seconds.

Service Alerts and Disruptions

You don't have to guess if the line's running smooth. You check for system-wide disruptions using get_avisos, which reports planned service modifications or actual track incidents across the entire network. If you need real-time alerts specific to the commuter lines, rt_alerts_cercanias feeds you those immediate updates on service changes or incidents every 20 seconds.

Static Data and Offline Prep

When your app needs data without Wi-Fi, this server has you covered. You use get_static_datasets to pull direct download URLs for major static datasets, like comprehensive GTFS schedules and station lists, perfect for building an application that runs totally offline.

Dataset Discovery and Metadata

The service exposes a massive repository of open government data using the CKAN tools. You start by seeing what's available with ckan_package_list, which returns a list of every single dataset package name hosted in the Renfe Data portal. If you know generally what kind of data you want, you run ckan_datastore_search to filter and search specific resources within that data portal using keywords or defined filters.

To understand the structure of a particular set of data, you use ckan_package_show, which retrieves detailed metadata about one entire package, telling you its source and what it's built around. If you know exactly which resource you need inside those packages, ckan_resource_show gives you the metadata for that specific data asset.

Finally, if you want to see the raw details of a dataset without searching through the whole portal, you can get precise information using ckan_datastore_search again; this function lets you target and pull data resources based on your criteria.

Built · Hosted · Managed by Vinkius Renfe Data - Real-time Train Tracking & Open Datasets
Server ID 019e38e3-5d94-7233-8abe-a6e7cadbb30e
Vinkius Inspector
Compliance Grade A+
Score 100/100
Vinkius Inspector Badge — Score 100/100

Questions you might have

How do I find out what kind of datasets are available with ckan_package_list? +

You run ckan_package_list. This command retrieves all dataset names in the Renfe Data portal. It's a good first step to see if 'GTFS' or 'Estaciones' is listed before you try to use it.

What should I use for real-time position updates on commuter trains? +

Use the rt_vehicle_positions_cercanias tool. It gives live GPS coordinates and movement status, updating every 20 seconds. This is the specific function you need for current location data.

Can I get historical schedules from Renfe Data? +

Yes. You use get_static_datasets to list direct download URLs for GTFS schedules and station lists. These files are designed for offline analysis, unlike the live tools.

Which tool shows planned service modifications? ckan_datastore_search or get_avisos? +

You must use get_avisos. This specific function retrieves real-time information on track incidents and planned service changes, which is different from searching general datasets.

How often do the trip updates run for Long Distance trains using rt_trip_updates_ld? +

The rt_trip_updates_ld tool updates every 30 seconds. This provides a consistent, low-latency stream of delay and cancellation information for AVE/LD/MD services.

I want to see the full schema of a specific dataset; should I use `ckan_package_show` or `ckan_resource_show`? +

ckan_resource_show gives you the precise metadata for an individual data resource. If you need to know what fields are available within a package, that's your tool. It provides details like format and last updated dates.

How do I get download links for offline analysis using `get_static_datasets`? +

get_static_datasets returns direct URLs to static files, such as GTFS schedules and station lists. Your AI client can use these links directly to pull the data into a local format for deep-dive work.

What is the update frequency when I run `rt_vehicle_positions_cercanias`? +

The rt_vehicle_positions_cercanias tool updates every 20 seconds. This means your agent will receive near real-time GPS coordinates for commuter trains, making it ideal for continuous monitoring.

How often are the real-time train positions updated? +

It depends on the service: Cercanías positions (rt_vehicle_positions_cercanias) update every 20 seconds, while Long Distance trains (rt_vehicle_positions_ld) update every 15 minutes.

Can I check for delays or platform changes for a specific trip? +

Yes. Use rt_trip_updates_cercanias or rt_trip_updates_ld to get live information on delays, cancellations, and platform assignments across the network.

Where can I find the static GTFS files for schedules? +

You can use the get_static_datasets tool. It returns direct download URLs for GTFS schedule packages and CSV/XLSX lists of all Renfe stations.

Built & Managed by Vinkius 30s setup 11 tools

We've already built the connector for Renfe Data. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 11 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.