Parse any file or URL into structured text for AI agents.
@parsejet/mcp-server
MCP (Model Context Protocol) server for the ParseJet API. Lets AI agents like Claude Code and Cursor parse files, URLs, and YouTube transcripts.
Tools
| Tool | Description |
|---|---|
parse_url |
Parse any URL (web page, YouTube, PDF link, etc.) |
parse_file |
Parse a local file (PDF, DOCX, image, etc.) |
get_youtube_transcript |
Get a YouTube video transcript |
Installation
npm install -g @parsejet/mcp-server
Or run directly with npx:
npx @parsejet/mcp-server
Configuration
API Key (optional)
Set the PARSEJET_API_KEY environment variable to authenticate. Without it, the server works anonymously with a limit of 3 requests per day.
Get your API key at parsejet.com/dashboard.
Claude Code
Add to your project's .claude/settings.json (or global ~/.claude/settings.json):
{
"mcpServers": {
"parsejet": {
"command": "npx",
"args": ["-y", "@parsejet/mcp-server"],
"env": {
"PARSEJET_API_KEY": "your-api-key"
}
}
}
}
Cursor
Add to your Cursor MCP config (Settings > MCP Servers):
{
"mcpServers": {
"parsejet": {
"command": "npx",
"args": ["-y", "@parsejet/mcp-server"],
"env": {
"PARSEJET_API_KEY": "your-api-key"
}
}
}
}
If installed globally, you can use parsejet-mcp instead of npx:
{
"mcpServers": {
"parsejet": {
"command": "parsejet-mcp",
"env": {
"PARSEJET_API_KEY": "your-api-key"
}
}
}
}
Usage Examples
Once configured, your AI agent can use these tools:
Parse a web page:
"Parse https://example.com and give me a summary"
Parse a local PDF:
"Parse the file at /path/to/document.pdf as markdown"
Get a YouTube transcript:
"Get the transcript of https://www.youtube.com/watch?v=dQw4w9WgXcQ"
Parse with specific output format:
"Parse https://example.com as markdown"
Development
# Install dependencies
npm install
# Build
npm run build
# Run locally
node dist/index.js
Links
- ParseJet — Official website
- Documentation — API reference and guides
- Get API Key — Free API key (300 credits/month)
- Pricing — Plans and pricing
- TypeScript SDK —
npm install parsejet - Supported Formats — PDF, DOCX, YouTube, web pages, images, and 25+ more
License
MIT
Tools (3)
parse_urlParse any URL including web pages, YouTube links, and PDF links.parse_fileParse a local file such as PDF, DOCX, or images.get_youtube_transcriptRetrieve the transcript of a YouTube video.Environment Variables
PARSEJET_API_KEYAPI key for authentication to remove request limits.Configuration
{"mcpServers": {"parsejet": {"command": "npx", "args": ["-y", "@parsejet/mcp-server"], "env": {"PARSEJET_API_KEY": "your-api-key"}}}}