
MCP Server for Ticketmaster
A Ticketmaster MCP server that provides query capabilites from the Discovery API
what is MCP Server for Ticketmaster?
MCP Server for Ticketmaster is a Model Context Protocol server that provides tools for discovering events, venues, and attractions through the Ticketmaster Discovery API.
how to use MCP Server for Ticketmaster?
To use the MCP Server, install it via npm, configure it with your Ticketmaster API key, and utilize the search_ticketmaster
tool to query events, venues, or attractions.
key features of MCP Server for Ticketmaster?
- Flexible search capabilities for events, venues, and attractions with various filters.
- Outputs data in structured JSON format or human-readable text.
- Comprehensive data including names, dates, price ranges, and locations.
use cases of MCP Server for Ticketmaster?
- Finding concerts and events in a specific city.
- Searching for venues based on location and event type.
- Discovering attractions and their classifications.
FAQ from MCP Server for Ticketmaster?
- How do I get a Ticketmaster API key?
You can obtain a Ticketmaster API key by creating an account on the Ticketmaster developer portal and creating a new app.
- What types of searches can I perform?
You can search for events, venues, and attractions using various filters like keyword, date range, and location.
- Is there a limit to the number of queries?
The API may have rate limits; please refer to the Ticketmaster API documentation for details.
MCP Server for Ticketmaster
A Model Context Protocol server that provides tools for discovering events, venues, and attractions through the Ticketmaster Discovery API.
Features
- Search for events, venues, and attractions with flexible filtering:
- Keyword search
- Date range for events
- Location (city, state, country)
- Venue-specific searches
- Attraction-specific searches
- Event classifications/categories
- Output formats:
- Structured JSON data for programmatic use
- Human-readable text for direct consumption
- Comprehensive data including:
- Names and IDs
- Dates and times (for events)
- Price ranges (for events)
- URLs
- Images
- Locations and addresses (for venues)
- Classifications (for attractions)
Installation
npx -y install @delorenj/mcp-server-ticketmaster
Configuration
The server requires a Ticketmaster API key. You can get one by:
- Going to https://developer.ticketmaster.com/
- Creating an account or signing in
- Going to "My Apps" in your account
- Creating a new app to get your API key
Set your API key in your MCP settings file:
{
"mcpServers": {
"ticketmaster": {
"command": "npx",
"args": ["-y", "@delorenj/mcp-server-ticketmaster"],
"env": {
"TICKETMASTER_API_KEY": "your-api-key-here"
}
}
}
}
Usage
The server provides a tool called search_ticketmaster
that accepts:
Required Parameters
type
: Type of search ('event', 'venue', or 'attraction')
Optional Parameters
keyword
: Search termstartDate
: Start date in YYYY-MM-DD format (for events)endDate
: End date in YYYY-MM-DD format (for events)city
: City namestateCode
: State code (e.g., 'NY')countryCode
: Country code (e.g., 'US')venueId
: Specific venue IDattractionId
: Specific attraction IDclassificationName
: Event category (e.g., 'Sports', 'Music')format
: Output format ('json' or 'text', defaults to 'json')
Examples
Structured JSON Output (Default)
<use_mcp_tool>
<server_name>ticketmaster</server_name>
<tool_name>search_ticketmaster</tool_name>
<arguments>
{
"type": "event",
"keyword": "concert",
"startDate": "2025-02-01",
"endDate": "2025-02-28",
"city": "New York",
"stateCode": "NY"
}
</arguments>
</use_mcp_tool>
Human-Readable Text Output
<use_mcp_tool>
<server_name>ticketmaster</server_name>
<tool_name>search_ticketmaster</tool_name>
<arguments>
{
"type": "event",
"keyword": "concert",
"startDate": "2025-02-01",
"endDate": "2025-02-28",
"city": "New York",
"stateCode": "NY",
"format": "text"
}
</arguments>
</use_mcp_tool>
Development
- Clone the repository
- Copy the example environment file:
cp .env.example .env
- Add your Ticketmaster API key to
.env
- Install dependencies:
npm install
- Build the project:
npm run build
- Test with the inspector:
npm run inspector
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
License
MIT License - see LICENSE file for details