podcastindex-mcp: Instructions file for Claude Code

CLAUDE.md

podcastindex-mcp CLAUDE.md is an instructions file for Claude Code from conorbronsdon/podcastindex-mcp. It costs 452 tokens per session, scanned A, original, MIT.

Coding instructions for podcastindex-mcp, an MCP server that searches podcasts, tracks guest appearances, monitors trends, and checks podcast-feed health through the Podcast Index API.

In plain words
What is it for?
Use them when modifying the server startup, API client, tool handlers, input types, tests, build checks, or Podcast Index authentication.
Why use it?
They document authentication, architecture, testing limits, and safety requirements so changes are consistent and do not call the real service during tests.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is conorbronsdon/podcastindex-mcp's own configuration. It tells Claude Code how to work on podcastindex-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 podcastindex-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conorbronsdon/podcastindex-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/conorbronsdon/podcastindex-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/conorbronsdon/podcastindex-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 podcastindex-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/conorbronsdon/podcastindex-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/conorbronsdon/podcastindex-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/conorbronsdon/podcastindex-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/conorbronsdon/podcastindex-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 podcastindex-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/conorbronsdon/podcastindex-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/conorbronsdon/podcastindex-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 452 This file is loaded in full into every session.
When invoked 452 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.00452 $0.00452
Opus 5 $0.00226 $0.00226
Sonnet 5 $0.00090 $0.00090
Haiku 4.5 $0.00045 $0.00045

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

Security

Grade A, and why

podcastindex-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 10d 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 · 37 lines

What it actually says

podcastindex-mcp

MCP server for the Podcast Index API — search podcasts, track appearances, monitor trending, check feed health.

Architecture

  • src/index.ts — MCP server bootstrap, env var validation, request handlers
  • src/api-client.ts — HTTP client with HMAC SHA1 auth header generation
  • src/tool-handlers.ts — 8 tool handlers with input validation and error handling
  • src/types.ts — TypeScript interfaces and type guard functions for all tool args
  • src/__tests__/ — Vitest tests for types, API client, and tool handlers

Key constraints

  • PODCASTINDEX_API_KEY and PODCASTINDEX_API_SECRET env vars are needed for tool calls, but the server starts without them (lazy auth): warns on stderr, answers tools/list, and fails each tools/call with a clear McpError until both are set
  • Tests must mock HTTP — never hit the real Podcast Index API
  • Uses MCP SDK 1.x and axios for HTTP; all 8 tools are read-only and declare annotations: { readOnlyHint: true } (enforced by a completeness test)
  • CI runs npm audit --audit-level=high — keep dependencies free of high-severity advisories

Development

npm ci
npm run lint    # tsc --noEmit (type-check)
npm run build   # tsc (outputs to build/)
npm test        # vitest run

Testing

3 test suites:

  • types.test.ts — Type guard validation (valid/invalid inputs for all 8 arg types)
  • api-client.test.ts — API endpoints, param forwarding, auth header generation (mocked axios)
  • tool-handlers.test.ts — Tool dispatch, error handling, TOOLS registry integrity

Agent workflow

  • Always work on a branch. Never push directly to main.
  • Create PRs targeting main. CI must pass (lint + build + test on Node 20 and 22).
  • Keep changes focused — one feature or fix per PR.
  • Run npm test locally before pushing.
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. 10d ago First seen · 37 lines · 452 tokens per session scan A ef77973d6cfb

Subscribe to this mod's changes

podcastindex-mcp CLAUDE.md is an instructions file published in the GitHub repository conorbronsdon/podcastindex-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 452 tokens to every session, about $0.0023 per session on Opus 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.