Skip to main content
Glama

Jupiter Broadcasting Podcast Data MCP Server

by Red5d

get_transcript

Retrieve transcript text for Jupiter Broadcasting podcast episodes by specifying show name and episode number to access content details.

Instructions

Get the transcript for a specific episode.

Args: show_name: Name of the show episode_number: Episode number

Returns: Dictionary containing the transcript text or error message.

Input Schema

NameRequiredDescriptionDefault
show_nameYes
episode_numberYes

Input Schema (JSON Schema)

{ "properties": { "episode_number": { "type": "string" }, "show_name": { "type": "string" } }, "required": [ "show_name", "episode_number" ], "type": "object" }

Implementation Reference

  • MCP tool handler for 'get_transcript'. Handles input parameters, calls the rss_parser helper, and formats the response or error as a dictionary.
    @mcp.tool() def get_transcript(show_name: str, episode_number: str) -> Dict[str, Any]: """Get the transcript for a specific episode. Args: show_name: Name of the show episode_number: Episode number Returns: Dictionary containing the transcript text or error message. """ try: transcript = rss_parser.get_transcript(show_name, episode_number) if transcript: return {"transcript": transcript} else: return {"error": f"Transcript not available for episode '{episode_number}' in show '{show_name}'"} except Exception as e: return {"error": f"Failed to retrieve transcript: {str(e)}"}
  • Core helper function in PodcastRSSParser class that retrieves the episode data, extracts the transcript URL, fetches the transcript content from the URL, and returns the raw text or None if unavailable.
    def get_transcript(self, show_name: str, episode_number: str) -> Optional[str]: """Get transcript for an episode.""" episode = self.get_episode(show_name, episode_number) if not episode: return None transcript_url = episode.get("transcript_url") if not transcript_url: return None try: response = requests.get(transcript_url, timeout=30) response.raise_for_status() return response.text except Exception as e: print(f"Error fetching transcript: {e}") return None
  • The @mcp.tool() decorator registers the get_transcript function as an MCP tool.
    @mcp.tool()
  • Function signature and docstring define the input schema (show_name: str, episode_number: str) and output schema (Dict[str, Any] with 'transcript' or 'error').
    def get_transcript(show_name: str, episode_number: str) -> Dict[str, Any]: """Get the transcript for a specific episode. Args: show_name: Name of the show episode_number: Episode number Returns: Dictionary containing the transcript text or error message. """

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Red5d/jupiterbroadcasting_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server