get_transcript
Retrieve AI-generated transcripts from Fathom meeting recordings using the recording ID to access conversation content.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recording_id | Yes | The recording ID of the meeting |
Implementation Reference
- src/index.ts:132-142 (handler)The MCP tool handler function that fetches the transcript using the FathomClient, formats it with formatTranscriptToMarkdown, and returns markdown text content.async ({ recording_id }) => { console.error(`Fetching transcript for ${recording_id}...`); const response = await fathom.getTranscript(recording_id); const markdown = formatTranscriptToMarkdown(response.transcript); console.error('Transcript retrieved'); return { content: [{ type: 'text', text: markdown }], }; }
- src/index.ts:129-131 (schema)Zod input schema defining the required 'recording_id' parameter.{ recording_id: z.number().describe('The recording ID of the meeting'), },
- src/index.ts:127-143 (registration)Full registration of the 'get_transcript' tool on the MCP server, including name, input schema, and handler function.server.tool( 'get_transcript', { recording_id: z.number().describe('The recording ID of the meeting'), }, async ({ recording_id }) => { console.error(`Fetching transcript for ${recording_id}...`); const response = await fathom.getTranscript(recording_id); const markdown = formatTranscriptToMarkdown(response.transcript); console.error('Transcript retrieved'); return { content: [{ type: 'text', text: markdown }], }; } );
- src/fathom-client.ts:252-254 (helper)Helper method in FathomClient that makes the API request to retrieve the transcript for a given recording ID.async getTranscript(recordingId: number): Promise<TranscriptResponse> { return this.request<TranscriptResponse>(`/recordings/${recordingId}/transcript`); }
- src/fathom-client.ts:106-108 (schema)TypeScript interface defining the structure of the transcript response from the Fathom API.export interface TranscriptResponse { transcript: TranscriptItem[]; }