A Model Context Protocol (MCP) tool for fetching transcripts from Loom videos.
This tool allows you to fetch the transcript text from any Loom video URL. It extracts the video ID from the URL, makes a request to Loom's GraphQL API to get the transcript details, and then fetches and parses the VTT captions file to provide the transcript as plain text.
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
npm start
- Build the project to create the
dist
folder with the compiled code - Right-click on the
dist/index.js
file in the file explorer and copy the full path - In Cursor, click on the top left "Cursor" menu
- Go to "Cursor Settings"
- Go to "Features"
- Scroll down to "MCP Servers"
- Click on "Add New MCP Server"
- Enter a name for your tool, e.g., "Loom Transcript"
- Select "Command" from the dropdown
- Enter the following command:
node /path/to/dist/index.js
(replace with your actual path) - Click "Save"
- Restart Cursor
Gets the transcript text from a Loom video URL.
Input Parameters:
-
videoUrl
(string): The Loom video URL (e.g., https://www.loom.com/share/123456)
Output:
- The transcript text from the video
Example:
Hey Cursor, can you get the transcript from this Loom video? https://www.loom.com/share/98bd39050a3e40b8adbf3e6228b488eb
The tool handles several potential errors:
- Invalid Loom URL (unable to extract video ID)
- Video not found or transcript not available
- Network errors when fetching the transcript
- Parsing errors with the VTT content
The tool works in three steps:
- Extract the video ID from the Loom URL
- Make a GraphQL request to Loom's API to fetch the transcript/captions URL
- Fetch the VTT file from the URL and convert it to plain text