Skip to content
MCP server
RegistryRemote

PDF Kit MCP Server

AI-powered PDF tools: fill forms, merge, extract data, and split PDFs

PDF Kit scores 40 (Fair), with no SPDX license recorded. It can be reached as a remote MCP endpoint. It declares 4 tools. Filed under Knowledge. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by benhuang21828No license
Trust score
40Fair
Trust score 40 of 100, Fair

Fair trust

40 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 40 comes from

22 + 5 + 0 + 0 + 10 + 3 = 40. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance5 / 20

How recently the repository saw a commit or release.

Maintenance: 5 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "hellobasestation-pdfkit": {      "command": "npx",      "args": [        "-y",        "pdfkit-mcp@1.0.2"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools4Tool docs quality grade F

All capabilities

About

πŸ“¦ PDF Kit MCP Server

An AI-powered Model Context Protocol (MCP) server that enables Claude and other AI assistants to work with PDFs using natural language instructions. Fill forms, merge documents, extract data, and split PDFs - all through simple conversation.

✨ Overview

Transform tedious PDF tasks into simple conversations. Just tell your AI assistant what you need, and let PDF Kit handle the rest.

Current Features:

  • πŸ“ Form Filling: Automatically fill PDF forms with natural language instructions

Coming Soon:

  • πŸ”— PDF Merging: Combine multiple PDFs into one document
  • πŸ“Š Data Extraction: Extract structured data from PDFs
  • βœ‚οΈ PDF Splitting: Split PDFs by page ranges or criteria

Perfect for:

  • πŸ“‹ Tax forms and government documents
  • 🏒 Business applications and contracts
  • πŸ₯ Medical intake forms
  • πŸ“„ Document management and organization
  • πŸ“Š Data processing workflows

πŸš€ Features

  • Natural Language Instructions: Describe tasks in plain English
  • Intelligent Processing: AI automatically understands and executes PDF operations
  • Multiple Transport Options: stdio (Claude Desktop) or HTTP (remote/web)
  • Secure API Integration: Built on BaseStation's proven PDF processing API
  • Real-time Job Status: Track processing progress with job IDs
  • Extensible Architecture: Easy to add new PDF tools and capabilities
  • Error Handling: Clear error messages and validation

πŸ“¦ Installation

Option 1: Via Claude Desktop (Recommended)

  1. Install the MCP server via Claude Desktop settings
  2. Add to your claude_desktop_config.json:
{
  "mcpServers": {
    "pdfkit": {
      "command": "npx",
      "args": ["pdfkit-mcp"],
      "env": {
        "BASESTATION_API_URL": "https://app.hellobasestation.com",
        "BASESTATION_API_KEY": "your-api-key-here"
      }
    }
  }
}

Option 2: Via npm (Global Install)

npm install -g pdfkit-mcp

Then configure in your MCP client.

Option 3: From Source

git clone https://github.com/Base-Station-Inc/pdfkit-mcp.git
cd pdfkit-mcp
npm install

Requirements:

βš™οΈ Configuration

Set these environment variables in your MCP client or hosting environment.

  • BASESTATION_API_KEY (required)
    • API key for BaseStation requests.
  • BASESTATION_API_URL (optional)
    • Default: https://app.hellobasestation.com
  • MAX_PDF_MB (optional)
    • Max allowed decoded PDF size in MB. Default: 15.
  • REQUEST_TIMEOUT_MS (optional)
    • Timeout for outbound API requests. Default: 15000.
  • PORT (optional, HTTP mode only)
    • HTTP server port. Default: 4000.

Example (Claude Desktop, stdio via npx):

{
  "mcpServers": {
    "pdfkit": {
      "command": "npx",
      "args": ["-y", "pdfkit-mcp"],
      "env": {
        "BASESTATION_API_KEY": "<your-api-key>",
        "BASESTATION_API_URL": "https://app.hellobasestation.com",
        "MAX_PDF_MB": "15",
        "REQUEST_TIMEOUT_MS": "15000"
      }
    }
  }
}

Example (HTTP mode, local):

export BASESTATION_API_KEY=your_api_key
export PORT=4000
npm run start:http

🎯 Quick Start

With Claude Desktop

Once installed, simply ask Claude:

"Fill out this PDF form with the following information: Name: John Doe, Email: john@example.com..."

(Coming soon: "Merge these three PDF files" or "Extract all the email addresses from this PDF")

As HTTP Server

Start the server:

node index.js
# Server runs on http://localhost:4000

Expose via ngrok:

ngrok http 4000

The server will output:

PDF Kit MCP server running on http://localhost:4000
MCP endpoint: http://localhost:4000/mcp
Health check: http://localhost:4000/health

Run 'ngrok http 4000' to expose this server

Exposing with ngrok

To make your MCP server accessible from external applications:

  1. Start the MCP server:
node index.js
  1. In a separate terminal, run ngrok:
ngrok http 4000
  1. ngrok will provide a public URL (e.g., https://abc123.ngrok.io)

  2. Use the MCP endpoint at:

https://abc123.ngrok.io/mcp

Endpoints

  • /mcp - Main MCP endpoint for protocol communication
  • /health - Health check endpoint (returns server status)

Health Check Example

curl http://localhost:4000/health

Response:

{
  "status": "ok",
  "name": "pdfkit-mcp",
  "version": "1.0.7"
}

Available Tools

basestation.create_autofill_job

Creates a BaseStation autofill job for PDF form filling.

Parameters:

  • instructions (string, required): Natural language instructions for how to fill the form
  • formFile (string, required): Base64-encoded PDF file to fill
  • callbackUrl (string, optional): Optional callback URL for job completion notification

Returns:

  • job_id: The BaseStation job ID
  • upload_page_url: URL to the upload page for the job
  • instructions_summary: Parsed summary of the instructions

Example Usage (from MCP client):

{
  "name": "basestation.create_autofill_job",
  "arguments": {
    "instructions": "Fill out the form with: Name: John Doe, Email: john@example.com",
    "formFile": "<base64-encoded-pdf>",
    "callbackUrl": "https://myapp.com/webhook"
  }
}

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   MCP Client    β”‚
β”‚ (e.g., Claude)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β”‚ HTTP/MCP Protocol
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  MCP Server     β”‚
β”‚  (index.js)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β”‚ Imports & Executes
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Tool Handler   │───────▢│  BaseStation API β”‚
β”‚(basestation.js) β”‚        β”‚  (External)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

File Structure

Doc-Base-Station-MCP/
β”œβ”€β”€ index.js              # Main MCP server (HTTP transport)
β”œβ”€β”€ tools/
β”‚   └── basestation.js    # BaseStation tool definition and handler
β”œβ”€β”€ package.json          # Node.js dependencies
β”œβ”€β”€ README.md            # This file
└── docs/                # Internal guides
    β”œβ”€β”€ LAUNCH_CHECKLIST.md
    β”œβ”€β”€ PUBLISHING.md
    └── ASSETS_NEEDED.md

Dependencies

  • @modelcontextprotocol/sdk - Official MCP TypeScript SDK
  • express - Web framework for HTTP server (v5)
  • node-fetch - HTTP client for API calls

Development

Project Configuration

The project uses ES modules. Key configuration in package.json:

{
  "type": "module",
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.20.1",
    "node-fetch": "^3.3.2",
    "express": "^5.1.0"
  }
}

Adding New Tools

To add new tools to the MCP server:

  1. Create a new tool file in tools/ directory
  2. Export a TOOL_DEFINITION object with the tool schema
  3. Export a handler function that implements the tool logic
  4. Import and register in index.js

Example structure:

// tools/mytool.js
export const TOOL_DEFINITION = {
  name: "my.tool",
  description: "Description of what the tool does",
  inputSchema: {
    type: "object",
    properties: {
      param1: { type: "string", description: "Parameter description" }
    },
    required: ["param1"]
  }
};

export async function handleMyTool(args) {
  // Implementation
  return {
    content: [{ type: "text", text: "Result" }]
  };
}

Troubleshooting

Port Already in Use

Change the port using the PORT environment variable:

PORT=8080 node index.js

Connection Issues with ngrok

  • Ensure the MCP server is running before starting ngrok
  • Check that ngrok is pointing to the correct port
  • Verify firewall settings allow incoming connections

License

MIT

Resources

Frequently asked questions

What is PDF Kit MCP Server?

AI-powered PDF tools: fill forms, merge, extract data, and split PDFs

How do I install PDF Kit MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PDF Kit MCP Server runs locally from the npm package pdfkit-mcp with the command npx -y pdfkit-mcp@1.0.2.

Does PDF Kit MCP Server support remote (HTTP) connections?

Yes. PDF Kit MCP Server is listed as a remote server, so HTTP-capable clients can connect to it without running anything locally.

What tools does PDF Kit MCP Server provide?

PDF Kit MCP Server provides 4 tools: basestation.create_autofill_job, instructions_summary, job_id, and upload_page_url. See the full tool list for descriptions and parameters.

How is PDF Kit MCP Server's trust score calculated?

PDF Kit MCP Server scores 40 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

β€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server