@apijolt/mcp
v1.0.0
Published
MCP server for APIJolt — convert documents to PDF from any AI assistant
Maintainers
Readme
@getapijolt/mcp
MCP (Model Context Protocol) server for APIJolt — convert HTML, Markdown, URLs, and Office documents to PDF directly from AI assistants like Claude Desktop, Cursor, and Claude Code.
Quick start
npx -y @getapijolt/mcpConfiguration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"apijolt": {
"command": "npx",
"args": ["-y", "@getapijolt/mcp"],
"env": {
"APIJOLT_API_KEY": "aj_live_your_key_here"
}
}
}
}Cursor
Add to .cursor/mcp.json in your project root or ~/.cursor/mcp.json globally:
{
"mcpServers": {
"apijolt": {
"command": "npx",
"args": ["-y", "@getapijolt/mcp"],
"env": {
"APIJOLT_API_KEY": "aj_live_your_key_here"
}
}
}
}Claude Code
claude mcp add apijolt -e APIJOLT_API_KEY=aj_live_your_key_here -- npx -y @getapijolt/mcpGet your free API key at apijolt.com.
Available tools
| Tool | Description |
|------|-------------|
| html_to_pdf | Convert an HTML string to PDF |
| markdown_to_pdf | Convert Markdown text or a .md file to PDF |
| url_to_pdf | Render a public URL to PDF |
| file_to_pdf | Convert a local Office/image file to PDF (docx, xlsx, pptx, jpg, png, …) |
| check_usage | Check your monthly usage and remaining quota |
Example prompts
"Convert the README.md in this repo to a PDF and save it next to the file."
"Turn this HTML into a PDF using A4 landscape format."
"Render https://example.com as a PDF."
"How many API calls do I have left this month?"
Environment variables
| Variable | Default | Description |
|----------|---------|-------------|
| APIJOLT_API_KEY | (required) | Your APIJolt API key |
| APIJOLT_API_URL | https://api.apijolt.com | Override API base URL (useful for self-hosted / staging) |
License
MIT
