---
title: "Transport for Spain integrations and MCP server - APIANT.ai"
description: "Connect Transport for Spain to any other app, or use it from your AI client over MCP. Public trains of Spain. Public transit API — routes, stops, timetables..."
canonical: "https://apiant.ai/connections/transport-for-spain"
---

# Transport for Spain integrations

Connect Transport for Spain to any other app, or use it from your AI client over MCP. Public trains of Spain. Public transit API — routes, stops, timetables and real-time vehicle/departure information, free and credential-less.

No account needed [renfe.com](https://renfe.com/)

**3** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want to automate with Transport for Spain?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Popular

## Transport for Spain with the apps people pair it with most

- [ **HubSpot to Transport for Spain** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-transport-for-spain)
- [ **Salesforce to Transport for Spain** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-transport-for-spain)
- [ **Slack to Transport for Spain** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-transport-for-spain)
- [ **Google Sheets to Transport for Spain** Google Sheets](https://apiant.ai/connect/google-sheets-to-transport-for-spain)
- [ **Gmail to Transport for Spain** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-transport-for-spain)
- [ **Google Calendar to Transport for Spain** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-transport-for-spain)
- [ **Google Drive to Transport for Spain** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connect/google-drive-to-transport-for-spain)
- [ **Mailchimp to Transport for Spain** Mailchimp marketing automation and email platform.](https://apiant.ai/connect/mailchimp-to-transport-for-spain)

Pair it

## Connect Transport for Spain with another app

- [ **HubSpot to Transport for Spain**](https://apiant.ai/connect/hubspot-to-transport-for-spain)
- [ **Salesforce to Transport for Spain**](https://apiant.ai/connect/salesforce-to-transport-for-spain)
- [ **Slack to Transport for Spain**](https://apiant.ai/connect/slack-to-transport-for-spain)
- [ **Google Sheets to Transport for Spain**](https://apiant.ai/connect/google-sheets-to-transport-for-spain)
- [ **Gmail to Transport for Spain**](https://apiant.ai/connect/gmail-to-transport-for-spain)
- [ **Google Calendar to Transport for Spain**](https://apiant.ai/connect/google-calendar-to-transport-for-spain)
- [ **Google Drive to Transport for Spain**](https://apiant.ai/connect/google-drive-to-transport-for-spain)
- [ **Mailchimp to Transport for Spain**](https://apiant.ai/connect/mailchimp-to-transport-for-spain)
- [ **Stripe to Transport for Spain**](https://apiant.ai/connect/stripe-to-transport-for-spain)
- [ **Shopify to Transport for Spain**](https://apiant.ai/connect/shopify-to-transport-for-spain)
- [ **QuickBooks Online to Transport for Spain**](https://apiant.ai/connect/quickbooks-online-to-transport-for-spain)
- [ **Pipedrive to Transport for Spain**](https://apiant.ai/connect/pipedrive-to-transport-for-spain)
- [ **ActiveCampaign to Transport for Spain**](https://apiant.ai/connect/activecampaign-to-transport-for-spain)
- [ **Notion to Transport for Spain**](https://apiant.ai/connect/notion-to-transport-for-spain)
- [ **Airtable to Transport for Spain**](https://apiant.ai/connect/airtable-to-transport-for-spain)
- [ **Trello to Transport for Spain**](https://apiant.ai/connect/trello-to-transport-for-spain)
- [ **Asana to Transport for Spain**](https://apiant.ai/connect/asana-to-transport-for-spain)
- [ **JIRA to Transport for Spain**](https://apiant.ai/connect/jira-to-transport-for-spain)
- [ **ClickUp to Transport for Spain**](https://apiant.ai/connect/clickup-to-transport-for-spain)
- [ **Zoom to Transport for Spain**](https://apiant.ai/connect/zoom-to-transport-for-spain)
- [ **Discord to Transport for Spain**](https://apiant.ai/connect/discord-to-transport-for-spain)
- [ **Twilio to Transport for Spain**](https://apiant.ai/connect/twilio-to-transport-for-spain)
- [ **SendGrid to Transport for Spain**](https://apiant.ai/connect/sendgrid-to-transport-for-spain)
- [ **Outlook to Transport for Spain**](https://apiant.ai/connect/outlook-to-transport-for-spain)
- [ **Intercom to Transport for Spain**](https://apiant.ai/connect/intercom-to-transport-for-spain)
- [ **Freshdesk to Transport for Spain**](https://apiant.ai/connect/freshdesk-to-transport-for-spain)
- [ **Klaviyo to Transport for Spain**](https://apiant.ai/connect/klaviyo-to-transport-for-spain)
- [ **Brevo to Transport for Spain**](https://apiant.ai/connect/brevo-to-transport-for-spain)
- [ **Typeform to Transport for Spain**](https://apiant.ai/connect/typeform-to-transport-for-spain)
- [ **JotForm to Transport for Spain**](https://apiant.ai/connect/jotform-to-transport-for-spain)
- [ **Calendly to Transport for Spain**](https://apiant.ai/connect/calendly-to-transport-for-spain)
- [ **PandaDoc to Transport for Spain**](https://apiant.ai/connect/pandadoc-to-transport-for-spain)
- [ **Webflow to Transport for Spain**](https://apiant.ai/connect/webflow-to-transport-for-spain)
- [ **Wix to Transport for Spain**](https://apiant.ai/connect/wix-to-transport-for-spain)
- [ **Instagram to Transport for Spain**](https://apiant.ai/connect/instagram-to-transport-for-spain)
- [ **OpenAI to Transport for Spain**](https://apiant.ai/connect/openai-to-transport-for-spain)
- [ **OneDrive to Transport for Spain**](https://apiant.ai/connect/onedrive-to-transport-for-spain)
- [ **Google Docs to Transport for Spain**](https://apiant.ai/connect/google-docs-to-transport-for-spain)
- [ **Ontraport to Transport for Spain**](https://apiant.ai/connect/ontraport-to-transport-for-spain)
- [ **Freshworks CRM to Transport for Spain**](https://apiant.ai/connect/freshworks-crm-to-transport-for-spain)
- [ **GoHighLevel to Transport for Spain**](https://apiant.ai/connect/gohighlevel-to-transport-for-spain)
- [ **Capsule CRM to Transport for Spain**](https://apiant.ai/connect/capsule-crm-to-transport-for-spain)
- [ **Copper to Transport for Spain**](https://apiant.ai/connect/copper-to-transport-for-spain)
- [ **Streak to Transport for Spain**](https://apiant.ai/connect/streak-to-transport-for-spain)
- [ **NetHunt CRM to Transport for Spain**](https://apiant.ai/connect/nethunt-crm-to-transport-for-spain)
- [ **MINDBODY to Transport for Spain**](https://apiant.ai/connect/mindbody-to-transport-for-spain)
- [ **PostgreSQL to Transport for Spain**](https://apiant.ai/connect/postgresql-to-transport-for-spain)
- [ **MySQL to Transport for Spain**](https://apiant.ai/connect/mysql-to-transport-for-spain)
- [ **Vercel to Transport for Spain**](https://apiant.ai/connect/vercel-to-transport-for-spain)
- [ **PagerDuty to Transport for Spain**](https://apiant.ai/connect/pagerduty-to-transport-for-spain)
- [ **Gravity Forms to Transport for Spain**](https://apiant.ai/connect/gravity-forms-to-transport-for-spain)
- [ **HubSpot Enterprise to Transport for Spain**](https://apiant.ai/connect/hubspot-enterprise-to-transport-for-spain)
- [ **Google Forms to Transport for Spain**](https://apiant.ai/connect/google-forms-to-transport-for-spain)
- [ **monday.com to Transport for Spain**](https://apiant.ai/connect/monday-com-to-transport-for-spain)
- [ **Google Ads to Transport for Spain**](https://apiant.ai/connect/google-ads-to-transport-for-spain)
- [ **Google Tasks to Transport for Spain**](https://apiant.ai/connect/google-tasks-to-transport-for-spain)
- [ **Telegram to Transport for Spain**](https://apiant.ai/connect/telegram-to-transport-for-spain)
- [ **MailerLite to Transport for Spain**](https://apiant.ai/connect/mailerlite-to-transport-for-spain)
- [ **Google Contacts to Transport for Spain**](https://apiant.ai/connect/google-contacts-to-transport-for-spain)
- [ **Kit to Transport for Spain**](https://apiant.ai/connect/kit-to-transport-for-spain)

What your agent can do with Transport for Spain

## Triggers and actions 3 actions

- Action

**Find records by query**

Find transport data records matching a free-text search term (CKAN datastore_search with a query parameter).

- Action

**List records**

List transport data records from Renfe's open-data resource, with optional paging (CKAN datastore_search).

- Action

**Query records via SQL**

Run a read-only SQL SELECT statement against Renfe's open-data resource (CKAN datastore_search_sql).

## Related apps

- [ **airportsapi** airportsapi is a lightweight airport reference lookup.](https://apiant.ai/connections/airportsapi)
- [ **Apimetro** Apimetro serves geospatial data for the Mexico City public transport network, covering the Metro, Metrobus...](https://apiant.ai/connections/apimetro)
- [ **Aviation Safety Data to Transport for Spain** Aviation Safety Data provides access to a corpus of over 164,000 aircraft accident and incident narratives...](https://apiant.ai/connect/aviation-safety-data-to-transport-for-spain)
- [ **BC Ferries** BC Ferries API is an unofficial service exposing sailing data for British Columbia's coastal ferry network.](https://apiant.ai/connections/bc-ferries)
- [ **Can I enter** Can I enter reports visa and entry requirements for travellers holding any of 199 passports.](https://apiant.ai/connections/can-i-enter)
- [ **City Bikes** CityBikes tracks bike-sharing systems in hundreds of cities worldwide.](https://apiant.ai/connections/city-bikes)
- [ **LiveTrafficCam** LiveTrafficCam is a directory of live traffic cameras operated by United States state Departments of...](https://apiant.ai/connections/livetrafficcam)
- [ **Metro Lisboa** Metro Lisboa is the Lisbon underground operator, and its status endpoint publishes the live running state of...](https://apiant.ai/connections/metro-lisboa)

[More in Transportation](https://apiant.ai/apps/transportation)

Reviews

## What our customers say

Questions

## Transport for Spain, answered

###

### Is there a Transport for Spain MCP server?

APIANT's MCP server at https://mcp.apiant.ai works with Transport for Spain. Add that address to any AI client that takes a remote MCP server and sign in once in your browser. Your client can then run Transport for Spain actions on demand, or have APIANT build, test and run automations that use Transport for Spain. Nothing to install.

###

### What can your agent do in Transport for Spain?

Any of Transport for Spain's 3 actions, including Find records by query, List records and Query records via SQL. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can I use Transport for Spain directly from Claude, ChatGPT or Cursor?

Yes. Connect your AI client to APIANT once and it works with Transport for Spain two ways. Ask it to do something in Transport for Spain once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running on its own. A one-off action uses your plan's tasks the same way an automation step does.

###

### Do I need to write code against the Transport for Spain API?

No. APIANT connects to the Transport for Spain API for you. Describe what you want in plain language and your agent builds it on the Transport for Spain triggers and actions in the catalog. If you need an endpoint that is not there yet, your agent reads the Transport for Spain API documentation and adds it.

###

### Which apps can Transport for Spain connect to?

Any app in the catalog; the list on this page pairs Transport for Spain with each of them. If the other app is missing, point your agent at its API documentation and it builds the connector.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
