session-context

Provides session-start context for querying GTFS transit data via MCP tools.

Updated Jul 26, 2025
One-click install
npx skills add https://github.com/sandraschi/gtfs-mcp --skill session-context-sandraschi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: session-context
Source: https://github.com/sandraschi/gtfs-mcp/tree/main/.opencode/skills/session-context
Command: npx skills add https://github.com/sandraschi/gtfs-mcp --skill session-context-sandraschi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working with a GTFS MCP server, an AI assistant may not know which transit data tools exist or how to use them in the right order. This Skill injects session-start context so the assistant immediately knows the available feed management, stop search, and departure query tools and the correct workflow for using them. ## Core Features & Use Cases - Tool Awareness: Informs the assistant about GTFS MCP tools including add_feed, list_feeds, find_stops, get_departures, and get_stop_info. - Workflow Guidance: Establishes a clear sequence: list registered feeds first, then resolve stops by name before querying departures. - Continuity Tracking: Reminds the assistant to record feed_id and stop_ids for follow-up queries. - Use Case: A user asks "When is the next train from Westbahnhof?" and the assistant already knows to call list_feeds, resolve the station with find_stops, and then call get_departures. ## Quick Start Ask the assistant to list the registered GTFS feeds and find departures for a station by name.

Frequently Asked Questions about session-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query transit departures with a GTFS MCP server?▼

First call list_feeds to see registered feeds, then use find_stops with the feed_id and a station name to resolve stop IDs, and finally call get_departures with the resolved stop. This Skill instructs the assistant to follow that exact sequence.

What tools does the GTFS MCP server expose?▼

The server exposes feed management tools (add_feed, list_feeds), stop search (find_stops), departure queries (get_departures), and stop details (get_stop_info). This Skill makes the assistant aware of them at session start.

Why does the assistant need to call list_feeds before other queries?▼

Most GTFS MCP tools require a feed_id parameter identifying which transit agency feed to query. Calling list_feeds first discovers the registered feed IDs so subsequent find_stops and get_departures calls reference valid feeds.

Does this Skill download or parse GTFS data itself?▼

No, this Skill only provides prompt context describing the available MCP tools and their usage order. All downloading, parsing, and serving of GTFS data is handled by the separate FastMCP server.