setlist-mcp: Instructions file for Claude Code

CLAUDE.md

setlist-mcp CLAUDE.md is an instructions file for Claude Code from chrischall/setlist-mcp. It costs 3,727 tokens per session, scanned A, original, MIT.

Developer instructions for setlist-mcp, an MCP server that connects an agent to setlist.fm, a website containing concert setlists and related artist, venue, and tour information. It documents commands, tool names, architecture, authentication, and testing.

In plain words
What is it for?
Use it when developing or maintaining the setlist.fm integration, including its read-only searches and its authenticated “I was there” attendance actions.
Why use it?
It gives contributors the project rules and operating details needed to build, test, and extend the server consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is chrischall/setlist-mcp's own configuration. It tells Claude Code how to work on setlist-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything setlist-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chrischall/setlist-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chrischall/setlist-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chrischall/setlist-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setlist-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chrischall/setlist-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/chrischall/setlist-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chrischall/setlist-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/setlist-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setlist-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chrischall/setlist-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/setlist-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,727 This file is loaded in full into every session.
When invoked 3,727 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03727 $0.03727
Opus 5.5 $0.01491 $0.01491
Sonnet 5.5 $0.00745 $0.00745
Haiku 4.5 $0.00373 $0.00373

Measured 2d ago against content hash bc02b6cda35a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setlist-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

setlist-mcp

MCP server for setlist.fm. Wraps the setlist.fm REST API (https://api.setlist.fm/rest) and exposes 20 tools to Claude over stdio: 18 read-only (the REST API has no write endpoints — those are all GETs) plus 2 authenticated "I was there" attendance actions (setlist_mark_attended / setlist_unmark_attended) performed against the logged-in website (Apache Wicket), not the REST API.

Commands

npm run build          # tsc + esbuild bundle → dist/index.js + dist/bundle.js
npm test               # tsc typecheck + vitest run
npm run test:watch     # vitest watch
npm run test:coverage  # tsc typecheck + vitest run --coverage (v8 reporter, no thresholds)

Run locally (requires built dist/):

SETLIST_API_KEY=xxx node dist/index.js

Tool naming

All tools are prefixed setlist_ (e.g. setlist_search_setlists, setlist_get_artist).

Architecture

src/
  version.ts      # single source of truth for VERSION (x-release-please-version)
  index.ts        # MCP server entry — runMcp({ name, version, banner, tools })
  client.ts       # SetlistClient — reads SETLIST_API_KEY, attaches x-api-key
                  #   header per request, 15s request timeout + 2s 429 retry (both
                  #   via createApiClient), normalizes response eventDate → ISO
                  #   (deepMapStringField + dmyToIso from @chrischall/mcp-utils),
                  #   then augmentSetlists(...) annotates each setlist
  errors.ts       # SetlistConfigError — the deferred missing-key error, side-effect
                  #   free so tools/* can classify it without importing client.ts
  augment.ts      # augmentSetlists — walks a response, tags every setlist object
                  #   with songCount / setCount / hasSongs so callers skip empty stubs
  web-client.ts   # SetlistWebClient — authenticated www.setlist.fm (website) client
                  #   for the attendance writes; session-cookie auth, 5xx retry,
                  #   serialized write pacer (see attendance gotcha)
  fetchproxy-cookie.ts # resolveSessionCookie — shared createAuthResolver
                  #   (mcp-utils) three-path resolver: SETLIST_SESSION_COOKIE →
                  #   one-shot fetchproxy browser-bridge grab (15s withDeadline)
                  #   → actionable error (lazy; @fetchproxy/bootstrap)
  attribution.ts  # ATTRIBUTION_NOTE appended to data tool descriptions
  view.ts         # SETLIST_VIEWS / viewArg / viewResponse — the fleet `view`
                  #   vocabulary. compact = stripMediaUrls only (no field
                  #   projection; see the docblock), full = untouched. Every
                  #   read tool answers through viewResponse; writes do not
  tools/
    artists.ts    # setlist_search_artists, setlist_get_artist, setlist_get_artist_setlists
    setlists.ts   # setlist_search_setlists, setlist_get_setlist, setlist_get_setlist_version
    venues.ts     # setlist_search_venues, setlist_get_venue, setlist_get_venue_setlists
    geo.ts        # setlist_search_cities, setlist_get_city, setlist_search_countries
    users.ts      # setlist_get_user, setlist_get_user_attended, setlist_get_user_edited
    resolve.ts    # setlist_resolve_concerts (batch {artist,date,city?,venue?} → setlist resolver)
    attendance.ts # setlist_mark_attended, setlist_unmark_attended (authenticated website writes via web-client.ts)
    urls.ts       # setlist_id_from_url (pure local parser — extracts the setlist ID from a /setlist/ URL)
    utilities.ts  # setlist_healthcheck
    hints.ts      # _meta.mint context-group hints (domain family; lookup/change/other,
                  #   no canonical read, no subject) — every tool but the healthcheck

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +2 lines · +39 tokens per session bc02b6cda35a
  2. 28d ago Changed · +2 lines · +144 tokens per session e734db010eaf
  3. 1mo ago Changed · +113 tokens per session a362882ed29f
  4. 2mo ago Changed · +4 lines · +229 tokens per session 2f2c9c186636
  5. 2mo ago First seen · 128 lines · 3,202 tokens per session scan A 7ecdea042b41

Subscribe to this mod's changes

setlist-mcp CLAUDE.md is an instructions file published in the GitHub repository chrischall/setlist-mcp (1 stars, last pushed 2d ago), licensed MIT. It adds 3,727 tokens to every session, about $0.0149 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

setlist-mcp CLAUDE.md compared with instructions from other repositories

setlist-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setlist-mcp CLAUDE.mdchrischall/setlist-mcpInstructions file12d agoMITA3,727Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode