{
  "info": {
    "name": "Bart — mcp.ai",
    "description": "REST API for the Bart MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/bart",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "bart_get_api_version",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/api/version",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "api",
            "version"
          ]
        },
        "description": "Get the current version of the BART API. This action retrieves version information for the BART (Bay Area Rapid Transit) API, including the current API version number, copyright information, and licen",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"json_format\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_available_schedules",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/available/schedules",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "available",
            "schedules"
          ]
        },
        "description": "DEPRECATED: Retrieve available BART schedules (deprecated since Dec 2, 2019). This endpoint is deprecated and returns an empty schedules list. BART recommends using GTFS/GTFS-RT feeds for current sche",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_elevator_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/elevator/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "elevator",
            "status"
          ]
        },
        "description": "Tool to fetch current elevator status across all BART stations. Use when you need real-time elevator availability information for accessibility planning or route guidance.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_estimated_departures",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/estimated/departures",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "estimated",
            "departures"
          ]
        },
        "description": "Tool to get real-time estimated departure times for a specified BART station. Returns live train departure predictions including minutes until departure, platform assignments, train lengths, line colo",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"dir\": \"\",\n  \"orig\": \"\",\n  \"plat\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_fare",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/fare",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "fare"
          ]
        },
        "description": "Get fare information between two BART stations including Clipper and cash prices. Returns multiple fare types (Clipper, cash, senior/disabled, youth, Clipper START) with their respective prices. Use t",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"dest\": \"\",\n  \"orig\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_gtfs_alerts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/gtfs/alerts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "gtfs",
            "alerts"
          ]
        },
        "description": "Tool to fetch GTFS-RT service alerts in protobuf format for integration with GTFS static feed. Use when you need real-time service advisories, disruptions, or alert information.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_gtfs_rt_trip_updates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/gtfs/rt/trip/updates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "gtfs",
            "rt",
            "trip",
            "updates"
          ]
        },
        "description": "Tool to fetch real-time trip updates in GTFS-Realtime format. Use when you need the latest live trip information as raw protobuf.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_gtfs_static_schedule_feed",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/gtfs/static/schedule/feed",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "gtfs",
            "static",
            "schedule",
            "feed"
          ]
        },
        "description": "Downloads the BART static GTFS (General Transit Feed Specification) schedule feed as a ZIP archive. The GTFS feed contains comprehensive transit data including stations, routes, trip schedules, fares,",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_route_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/route/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "route",
            "info"
          ]
        },
        "description": "Tool to fetch detailed information about a specific BART route. Use when you know the route number (1–12) or need all routes configuration. Call after confirming the route ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"date\": \"\",\n  \"route\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_route_schedule",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/route/schedule",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "route",
            "schedule"
          ]
        },
        "description": "Tool to get detailed schedule information for a specific BART route showing all trains and their stops. Use when you need to see the complete schedule for a route including departure times, station st",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"l\": 0,\n  \"date\": \"\",\n  \"route\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_schedule_arrive",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/schedule/arrive",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "schedule",
            "arrive"
          ]
        },
        "description": "Tool to retrieve schedule information based on a specified arrival time. Use when planning trips arriving by a given time.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"a\": 0,\n  \"b\": 0,\n  \"l\": 0,\n  \"date\": \"\",\n  \"dest\": \"\",\n  \"orig\": \"\",\n  \"time\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_schedule_depart",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/schedule/depart",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "schedule",
            "depart"
          ]
        },
        "description": "Get BART train schedules departing from an origin station to a destination station at a specified time. Returns multiple trip options with departure/arrival times, fares (Clipper, cash, senior/disable",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"a\": 0,\n  \"b\": 0,\n  \"l\": 0,\n  \"date\": \"\",\n  \"dest\": \"\",\n  \"json\": \"\",\n  \"orig\": \"\",\n  \"time\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_service_advisories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/service/advisories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "service",
            "advisories"
          ]
        },
        "description": "Tool to fetch current BART service advisories. Use when you need up-to-date system-wide or station-level alerts before presenting or planning transit routes.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"orig\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_special_schedules",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/special/schedules",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "special",
            "schedules"
          ]
        },
        "description": "DEPRECATED: Get special schedule announcements for holidays or event modifications. This endpoint is deprecated as of June 26, 2020 and references a legacy system that is no longer available. The API ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"l\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_station_access",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/station/access",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "station",
            "access"
          ]
        },
        "description": "Get comprehensive station access information including parking, transit, bike facilities, and lockers. Returns detailed access information for a specific BART station including: entering/exiting instr",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"l\": 0,\n  \"orig\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_station_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/station/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "station",
            "info"
          ]
        },
        "description": "Get detailed information for a specific BART station by its abbreviation code. Returns comprehensive station details including: name, location (address, city, county, coordinates), routes serving the ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"orig\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_station_schedule",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/station/schedule",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "station",
            "schedule"
          ]
        },
        "description": "Get detailed scheduled departure information for a specific BART station. Returns all trains departing from the station including route line, destination, departure time, bike allowance, crowding leve",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"l\": 0,\n  \"date\": \"\",\n  \"orig\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_stations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/stations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "stations"
          ]
        },
        "description": "Get a list of all BART stations with their complete information. This action retrieves information about all BART (Bay Area Rapid Transit) stations including station names, abbreviation codes, geograp",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_get_train_count",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/train/count",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "train",
            "count"
          ]
        },
        "description": "Tool to fetch current count of trains active in the BART system. Use when you need real-time information about how many trains are currently operating.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bart_list_routes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/routes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "routes"
          ]
        },
        "description": "Tool to get a list of all current BART routes/lines with basic information. Use when you need to see all available routes, their colors, directions, or route numbers.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}