xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
MTA Guide logo

Next Trains

next_trains

Real-time train arrivals with delay predictions, crowding levels, and service alerts

$0.01/call
Flat rate
MTA Guide
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to real-time train arrivals with delay predictions, crowding levels, and service alerts. This is part of the MTA Guide provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 7+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("mta-guide/next_trains")
  2. xpay_run — Execute: xpay_run("mta-guide/next_trains", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
stationstringYesStation name to get arrivals for
limitnumberNoMaximum number of arrivals to return
linestringNoFilter by specific train line
directionstringNoFilter by direction

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • MTA Guide (all tools) — 8 tools
  • Find Station — $0.01/call
  • Service Status — $0.01/call
  • Subway Alerts — $0.01/call
  • Station Transfers — $0.01/call
  • Nearest Station — $0.01/call

Links

  • Tool page: https://xpay.tools/mta-guide/next-trains/
  • Provider: https://xpay.tools/mta-guide/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("mta-guide/next_trains")
// 2. Execute
xpay_run("mta-guide/next_trains", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

station

string
Yes

Station name to get arrivals for

limit

numberNo

Maximum number of arrivals to return

line

stringNo

Filter by specific train line

direction

stringNo

Filter by direction

Related Tools from MTA Guide
Find Station — $0.01Service Status — $0.01Subway Alerts — $0.01Station Transfers — $0.01Nearest Station — $0.01Service Disruptions — $0.01Elevator And Escalator Status — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/mta-guide/next-trains/SKILL.md
CLI
npx @xpaysh/cli install mta-guide/next-trains
Manual
curl -o SKILL.md https://xpay.tools/skills/mta-guide/next-trains/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

MTA Guide

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service