Skip to main content
Glama
delorenj

MCP Server for Ticketmaster Events

by delorenj

Ticketmaster 的 MCP 服务器

模型上下文协议服务器通过 Ticketmaster Discovery API 提供发现事件、场地和景点的工具。

特征

  • 通过灵活的过滤功能搜索活动、场地和景点:

    • 关键词搜索

    • 事件的日期范围

    • 位置(城市、州、国家)

    • 特定场地搜索

    • 特定景点搜索

    • 事件分类/类别

  • 输出格式:

    • 用于编程的结构化 JSON 数据

    • 可供直接使用的人类可读文本

  • 综合数据包括:

    • 姓名和身份证

    • 日期和时间(活动)

    • 价格范围(针对活动)

    • 网址

    • 图片

    • 地点和地址(场馆)

    • 景点分类

Related MCP server: Ticketmaster Partner API

安装

npx -y install @delorenj/mcp-server-ticketmaster

配置

服务器需要 Ticketmaster API 密钥。您可以通过以下方式获取:

  1. 前往https://developer.ticketmaster.com/

  2. 创建帐户或登录

  3. 前往您帐户中的“我的应用”

  4. 创建新应用以获取 API 密钥

在您的 MCP 设置文件中设置您的 API 密钥:

{
  "mcpServers": {
    "ticketmaster": {
      "command": "npx",
      "args": ["-y", "@delorenj/mcp-server-ticketmaster"],
      "env": {
        "TICKETMASTER_API_KEY": "your-api-key-here"
      }
    }
  }
}

用法

服务器提供了一个名为search_ticketmaster的工具,它接受:

必需参数

  • type :搜索类型(“活动”、“场地”或“景点”)

可选参数

  • keyword :搜索词

  • startDate :YYYY-MM-DD 格式的开始日期(用于事件)

  • endDate :YYYY-MM-DD 格式的结束日期(对于事件)

  • city :城市名称

  • stateCode :州代码(例如“NY”)

  • countryCode :国家代码(例如“US”)

  • venueId :具体场地 ID

  • attractionId :具体景点ID

  • classificationName :事件类别(例如,“体育”、“音乐”)

  • format :输出格式(“json”或“text”,默认为“json”)

示例

结构化 JSON 输出(默认)

<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>

人类可读的文本输出

<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>

发展

  1. 克隆存储库

  2. 复制示例环境文件:

    cp .env.example .env
  3. 将您的 Ticketmaster API 密钥添加到.env

  4. 安装依赖项:

    npm install
  5. 构建项目:

    npm run build
  6. 与检查员一起测试:

    npm run inspector

贡献

欢迎贡献代码!欢迎提交 Pull 请求。对于重大变更,请先提交一个 issue 来讨论您想要修改的内容。

执照

MIT 许可证 - 详情请参阅许可证文件

Available Tools

1 tool
search_ticketmasterC

Search for events, venues, or attractions on Ticketmaster

ParametersJSON Schema
NameRequiredDescriptionDefault
typeYesType of search to perform
keywordNoSearch keyword or term
startDateNoStart date in YYYY-MM-DD format
endDateNoEnd date in YYYY-MM-DD format
cityNoCity name
stateCodeNoState code (e.g., NY, CA)
countryCodeNoCountry code (e.g., US, CA)
venueIdNoSpecific venue ID to search
attractionIdNoSpecific attraction ID to search
classificationNameNoEvent classification/category (e.g., "Sports", "Music")
formatNoOutput format (defaults to json)json

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but provides minimal behavioral insight. It mentions searching but doesn't disclose rate limits, authentication needs, pagination, error handling, or what happens with partial/no results. This is inadequate for a search tool with 11 parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. It earns its place by clearly stating the tool's function in minimal space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex search tool with 11 parameters, no annotations, and no output schema, the description is insufficient. It lacks details on behavior, output format (beyond the 'format' parameter), error cases, and usage context, leaving significant gaps for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all parameters. The description adds no additional meaning beyond implying search across multiple resource types, which aligns with the 'type' parameter. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Search') and resources ('events, venues, or attractions on Ticketmaster'), making the purpose immediately understandable. It doesn't need to distinguish from siblings since none exist, but it could be more specific about what 'search' entails (e.g., listing vs. filtering).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives or any prerequisites. The description merely states what it does without context about appropriate scenarios, limitations, or integration with other tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev0.2.5
    • First observedsearch_ticketmaster

TDQS

B3.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as searching for events, venues, or attractions, making it straightforward for an agent to understand its function without confusion.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'search_ticketmaster' follows a clear verb_noun pattern, which would be consistent if more tools were added, but as a standalone, it sets a good precedent.

Tool Count2/5

A single tool is too few for a server focused on Ticketmaster events, which typically involves operations like browsing events, getting details, checking availability, or purchasing tickets. This minimal set feels thin and incomplete for the apparent scope, limiting agent capabilities.

Completeness2/5

The tool surface is severely incomplete for the domain of Ticketmaster events. While search is a useful starting point, there are obvious gaps such as retrieving event details, listing venues, checking ticket availability, or handling bookings, which are essential for comprehensive event management workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables users to search for events, performers, and venues through the SeatGeek API. Provides event recommendations, detailed venue seating information, and performer discovery capabilities for ticketed entertainment events.
    4
    483 npm
    3
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables discovery and search of Ticketmaster events, venues, and attractions with advanced filtering options including date ranges, location-based search, and event classifications through the Ticketmaster Partner API.
    1
    MIT