mcpField
P
Publicsofttools Mcp

Publicsofttools Mcp

Local
github.com/DrEjazAhmedDeveloper Tools0Updated 20w ago

About Publicsofttools Mcp

Publicsofttools Mcp exposes 14 utilities for AI agents, covering PDF operations, encoding, cryptography and domain or IP lookups. It is configured with an API key and can be added to MCP-compatible clients such as Claude, Cursor and Windsurf.

Key features

  1. 01QR code generation
  2. 02PDF compression, merging and splitting
  3. 03PDF conversion and unlocking
  4. 04Hash, UUID and Base64 utilities
  5. 05Password generation
  6. 06IP, DNS, SSL and WHOIS lookups

Use cases

  1. 01Prepare or combine PDF documents
  2. 02Generate hashes, UUIDs or passwords
  3. 03Inspect domain records and certificates
  4. 04Look up IP geolocation and network details

MCP support

It provides 14 utility tools to MCP-compatible AI agents. All tools require a PublicSoftTools API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"publicsofttools": {
"command": "npx",
"args": [
"-y",
"publicsofttools-mcp"
],
"env": {
"PST_API_KEY": "<PST_API_KEY>"
}
}
}
}
Run commandnpx -y publicsofttools-mcp
Environment variables to set
PST_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmpublicsofttools-mcp

Tools

14

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
sizenumberNoOutput size in pixels (default: 256, max: 1024)
textstringYesText, URL, or data to encode in the QR code
formatenumNoOutput format — png or svg (default: png)png | svg

Details

From the project README

PublicSoftTools MCP Server

Give any MCP-compatible AI agent (Claude, Cursor, Windsurf) access to 14 utility tools from PublicSoftTools.

npm: npx publicsofttools-mcp
API docs: https://www.publicsofttools.com/docs
Get a key: https://www.publicsofttools.com/account/api-keys


Tools included

ToolEndpointDescription
generate_qr_codePOST /api/v1/util/qrQR code as base64 PNG or raw SVG
generate_hashPOST /api/v1/util/hashMD5, SHA-1, SHA-256, SHA-384, SHA-512
generate_uuidGET /api/v1/util/uuidUUID v4 — up to 100 at once
encode_decode_base64POST /api/v1/util/base64Encode or decode, with URL-safe variant
generate_passwordPOST /api/v1/util/passwordCryptographically secure password
lookup_ipGET /api/v1/ip/lookupGeolocation, ISP, ASN, proxy/VPN detection
check_sslGET /api/v1/domain/sslSSL certificate details + days remaining
lookup_dnsGET /api/v1/domain/dnsA, AAAA, MX, TXT, CNAME, NS, SOA records
whois_lookupGET /api/v1/domain/whoisDomain registrar, dates, nameservers
compress_pdfPOST /api/v1/pdf/compressReduce PDF file size (max 4 MB)
merge_pdfsPOST /api/v1/pdf/mergeCombine 2–20 PDFs into one
split_pdfPOST /api/v1/pdf/splitSplit by page range or every N pages
pdf_to_wordPOST /api/v1/pdf/to-wordConvert PDF to editable .docx
unlock_pdfPOST /api/v1/pdf/unlockRemove permission restrictions

Prerequisites

  • Node.js 18+ (required for native fetch support)
  • A PublicSoftTools API key — get one free (1,500 calls/month, no credit card)

Install & configure

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json

{
  "mcpServers": {
    "publicsofttools": {
      "command": "npx",
      "args": ["-y", "publicsofttools-mcp"],
      "env": {
        "PST_API_KEY": "your_api_key_here"
      }
    }
  }
}

Restart Claude Desktop. The tools will appear in the tools panel.

Cursor

Open Settings → MCP and add:

{
  "publicsofttools": {
    "command": "npx",
    "args": ["-y", "publicsofttools-mcp"],
    "env": { "PST_API_KEY": "your_api_key_here" }
  }
}
Windsurf

Open Settings → MCP Servers and add the same JSON block as Cursor above.


Tool reference

All tools require the PST_API_KEY environment variable. All file inputs/outputs use base64-encoded content.


generate_qr_code

Generate a QR code image for any text, URL, or data.

Parameters

NameTypeRequiredDefaultDescription
textstringyes—Text, URL, or data to encode
sizenumberno256Output size in pixels (64–1024)
format"png" | "svg"no"png"Output image format
darkstringno"#000000"Dark module color (hex)
lightstringno"#ffffff"Light module color (hex)
error_correction"L" | "M" | "Q" | "H"no"M"Error correction level

Response

{
  "image": "data:image/png;base64,iVBORw0...",
  "format": "png",
  "size": 256
}

For format: "svg", image is a raw SVG string instead of a data URL.


generate_hash

Hash any text. Omit algorithm to get all five hashes in one call.

Parameters

NameTypeRequiredDefaultDescription
textstringyes—Text to hash (max 100,000 chars)
algorithm"md5" | "sha1" | "sha256" | "sha384" | "sha512"noallHash algorithm
encoding"hex" | "base64"no"hex"Output encoding

Response (all algorithms)

{
  "hashes": {
    "md5":    "5f4dcc3b5aa765d61d8327deb882cf99",
    "sha1":   "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
    "sha256": "5e884898da28047151d0e56f8dc629277...",
    "sha384": "a8b64babd0aca91a59bdbb7761b421d4...",
    "sha512": "b109f3bbbc244eb82441917ed06d618b..."
  },
  "encoding": "hex",
  "input_length": 8
}

generate_uuid

Generate UUID v4 values in batch.

Parameters

NameTypeRequiredDefaultDescription
countnumberno1Number of UUIDs to generate (1–100)

Response

{
  "uuids": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ],
  "count": 2
}

encode_decode_base64

Encode text to base64 or decode base64 back to plain text.

Parameters

NameTypeRequiredDefaultDescription
textstringyes—Input text (max 500,000 chars)
action"encode" | "decode"yes—Operation to perform
url_safebooleannofalseUse URL-safe variant (- and _ instead of + and /)

Response

{
  "result": "aGVsbG8gd29ybGQ=",
  "action": "encode",
  "url_safe": false,
  "input_length": 11,
  "output_length": 16
}

generate_password

Generate a cryptographically secure random password.

Parameters

NameTypeRequiredDefaultDescription
lengthnumberno16Password length (8–128)
uppercasebooleannotrueInclude uppercase letters (A–Z)
numbersbooleannotrueInclude digits (0–9)
symbolsbooleannotrueInclude symbols (!@#$…)

Response

{
  "password": "kR7#mQ2@xZ9!wP4$",
  "length": 16,
  "entropy_bits": 98.6
}

lookup_ip

Look up geolocation and network info for any IPv4 or IPv6 address.

Parameters

NameTypeRequiredDescription
ipstringyesIPv4 or IPv6 address (e.g. 8.8.8.8)

Response

{
  "ip": "8.8.8.8",
  "country": "United States",
  "country_code": "US",
  "region": "California",
  "city": "Mountain View",
  "zip": "94043",
  "lat": 37.4056,
  "lon": -122.0775,
  "timezone": "America/Los_Angeles",
  "isp": "Google LLC",
  "org": "Google LLC",
  "asn": "AS15169 Google LLC",
  "is_mobile": false,
  "is_proxy": false,
  "is_hosting": true
}

check_ssl

Check SSL/TLS certificate details for any domain.

Parameters

NameTypeRequiredDescription
domainstringyesDomain name (e.g. example.com)

Response

{
  "domain": "example.com",
  "valid": true,
  "issuer": "Let's Encrypt",
  "subject": "example.com",
  "san": ["example.com", "www.example.com"],
  "valid_from": "2026-01-01T00:00:00Z",
  "valid_to": "2026-04-01T00:00:00Z",
  "days_remaining": 22,
  "protocol": "TLSv1.3"
}

lookup_dns

Query DNS records for a domain. Omit type to get all available record types at once.

Parameters

NameTypeRequiredDefaultDescription
domainstringyes—Domain to query (e.g. example.com)
type"A" | "AAAA" | "MX" | "TXT" | "CNAME" | "NS" | "SOA"noallRecord type

Response

{
  "domain": "example.com",
  "records": {
    "A": ["93.184.216.34"],
    "MX": [{ "exchange": "mail.example.com", "priority": 10 }],
    "NS": ["ns1.example.com", "ns2.example.com"],
    "TXT": ["v=spf1 include:_spf.example.com ~all"]
  },
  "queried_at": "2026-06-09T12:00:00Z"
}

whois_lookup

Get domain registration information.

Parameters

NameTypeRequiredDescription
domainstringyesDomain to look up (e.g. example.com)

Response

{
  "domain": "example.com",
  "registrar": "Example Registrar, Inc.",
  "registered_at": "1995-08-14T00:00:00Z",
  "expires_at": "2027-08-13T00:00:00Z",
  "updated_at": "2024-08-13T00:00:00Z",
  "nameservers": ["a.iana-servers.net", "b.iana-servers.net"],
  "status": ["clientDeleteProhibited", "clientTransferProhibited"]
}

compress_pdf

Reduce PDF file size using Ghostscript compression. Max file size: 4 MB.

Parameters

NameTypeRequiredDefaultDescription
file_base64stringyes—Base64-encoded PDF content
level"screen" | "ebook" | "printer" | "prepress"no"ebook"Compression level. screen = smallest, prepress = highest quality

Response

{
  "pdf": "<base64-encoded compressed PDF>",
  "original_size": 2048000,
  "compressed_size": 819200,
  "reduction_percent": 60
}

merge_pdfs

Merge 2–20 PDF files into a single document. Max 4 MB per file.

Parameters

NameTypeRequiredDescription
files_base64string[]yesArray of base64-encoded PDFs to merge in order (2–20 files)

Response

{
  "pdf": "<base64-encoded merged PDF>",
  "page_count": 12,
  "files_merged": 3
}

split_pdf

Split a PDF into multiple documents. Max file size: 4 MB.

Parameters

NameTypeRequiredDefaultDescription
file_base64stringyes—Base64-encoded PDF to split
mode"range" | "every_n" | "every_page"yes—Split mode
pagesstringno—Page range when mode=range, e.g. "1-3,5,7-9"
every_nnumberno—Split every N pages when mode=every_n

Response

{
  "files": [
    "<base64-encoded PDF part 1>",
    "<base64-encoded PDF part 2>"
  ],
  "count": 2
}

pdf_to_word

Convert a PDF to an editable Word document (.docx). Max file size: 4 MB.

Parameters

NameTypeRequiredDescription
file_base64stringyesBase64-encoded PDF to convert

Response

{
  "docx": "<base64-encoded .docx file>",
  "page_count": 5
}

unlock_pdf

Remove owner-password permission restrictions from a PDF (print lock, copy lock, etc.). Does not require the password if only owner restrictions are set.

Parameters

NameTypeRequiredDescription
file_base64stringyesBase64-encoded PDF
passwordstringnoPDF password, if the file requires one to open

Response

{
  "pdf": "<base64-encoded unlocked PDF>",
  "was_encrypted": true
}

Authentication

Set your API key as an environment variable:

export PST_API_KEY=pst_live_your_key_here

Or pass it inline for a one-off test:

PST_API_KEY=pst_live_your_key_here node dist/index.js

The key is sent as X-Api-Key: pst_live_... on every request.


Rate limits & plans

PlanPriceCalls/month
Free$01,500
Starter$29/mo15,000
Pro$99/mo100,000
BusinessCustom1,000,000+

When you exceed your limit the API returns 429 Too Many Requests. Limits reset on the 1st of each month (UTC).

Get or upgrade your key: https://www.publicsofttools.com/account/api-keys


Troubleshooting

"PST_API_KEY environment variable is required"
The server exits immediately if no key is set. Make sure the env block in your MCP config has PST_API_KEY set.

Tools don't appear in Claude Desktop
Verify the JSON config is valid (no trailing commas), then fully quit and reopen Claude Desktop — a window close isn't enough.

401 Unauthorized
Your API key is invalid or has been revoked. Look it up again at https://www.publicsofttools.com/account/api-keys.

429 Too Many Requests
You've hit your monthly limit. Upgrade your plan or wait for the 1st-of-month reset.

413 File Too Large
PDF endpoints have a 4 MB binary limit. Compress or split the file before sending.

Node version error
Run node --version. You need Node 18 or later for native fetch. Update via https://nodejs.org.


License

MIT — see LICENSE

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.