← 返回
开发者工具 Key 中文

Podfetcher Tools

Search podcasts, browse episodes, and fetch podcast transcripts from Podfetcher using the bundled Node.js CLI, SDK, or MCP server.
通过内置的 Node.js CLI、SDK 或 MCP 服务器,使用 Podfetcher 搜索播客、浏览剧集并获取播客转录文本。
flohiwg
开发者工具 clawhub v0.5.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 502
下载
💾 7
安装
1
版本
#latest

概述

Podfetcher Tools

Podfetcher Tools is a Node.js client bundle for the Podfetcher API. It gives you three ways to work with podcast data from the same package:

  • a CLI for quick terminal workflows
  • an SDK for custom scripts and apps
  • an MCP server so agents can search shows, list episodes, and fetch transcripts

Use it when you want to discover podcasts, inspect episode catalogs, or retrieve transcripts from podfetcher.com.

Requirements

  • Node.js 20+
  • PODFETCHER_API_KEY set to a valid Podfetcher API key

The default API base URL is https://api.podfetcher.com. Override it only when targeting a non-production environment.

Getting Started

  1. Create or sign in to your account at podfetcher.com.
  2. Generate an API key from the Podfetcher dashboard.
  3. Export the key before running the CLI or MCP server:
export PODFETCHER_API_KEY="pk_live_your_key_here"

Optional overrides:

  • PODFETCHER_BASE_URL for non-production environments
  • PODFETCHER_API_KEY_HEADER if you need a non-default header name

Entry Points

If the package is installed globally from npm, use these binaries:

  • podfetcher
  • podfetcher-mcp

If you are working from a local checkout instead, run commands from this directory or reference these files by absolute path from another workspace:

  • CLI: node src/cli.js
  • MCP server: node src/mcp.js
  • SDK import: ./src/sdk.js

CLI Commands

Search shows

podfetcher shows search --q "<query>" [--limit <n>] [--cursor <cursor>] [--json]
  • --q is required
  • Returns items[] with showId, title, and author
  • If present, pass nextCursor into --cursor for the next page

List episodes

podfetcher shows episodes --show-id <showId> [--from <iso>] [--to <iso>] [--since <iso>] [--order-by publishedAt] [--order asc|desc] [--limit <n>] [--cursor <cursor>] [--json]
  • --show-id is required
  • Returns items[] with episodeId, publishedAt, title, and transcriptStatus

Fetch transcript

podfetcher transcripts fetch --episode-id <episodeId> [--wait] [--poll-interval-ms <ms>] [--wait-timeout-ms <ms>] [--idempotency-key <key>] [--json]
  • --episode-id is required
  • Without --wait, the API may return a queued job with jobId and status=PROCESSING
  • With --wait, the client polls until the transcript is ready or the timeout expires

Global CLI Options

  • --api-key or PODFETCHER_API_KEY for Podfetcher authentication
  • --base-url or PODFETCHER_BASE_URL for API endpoint override
  • --api-key-header
    or PODFETCHER_API_KEY_HEADER for header override
  • --timeout-ms
  • --json

Typical Workflow

# 1. Find a show
podfetcher shows search --q "lex fridman" --limit 3 --json

# 2. List recent episodes
podfetcher shows episodes --show-id <showId> --order-by publishedAt --order desc --limit 5 --json

# 3. Fetch the transcript and wait for completion
podfetcher transcripts fetch --episode-id <episodeId> --wait --json

MCP Server

Start the MCP server over stdio:

podfetcher-mcp

Available tools:

  • search_shows
  • list_episodes
  • fetch_transcript

Example config:

{
  "mcpServers": {
    "podfetcher": {
      "command": "node",
      "args": ["/absolute/path/to/podfetcher-tools/src/mcp.js"],
      "env": {
        "PODFETCHER_API_KEY": "pk_live_..."
      }
    }
  }
}

Error Handling

  • HTTP errors are formatted as [HTTP ] :
  • Missing API key errors are reported before the request is sent
  • Exit code is 1 on error and 0 on success

版本历史

共 1 个版本

  • v0.5.1 当前
    2026-03-30 03:41 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,843
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,794