MCP Server
Model Context Protocol
SimpleWebAPIs exposes all its APIs through the Model Context Protocol (MCP), allowing AI agents and coding tools to call our endpoints directly.
Overview
MCP is an open protocol that standardises how AI applications connect to external tools and data sources. Our MCP server uses Streamable HTTP transport, so there's no local server to run - just point your client at our endpoint.
Every request is authenticated with your API key and subject to the same credit system as our REST endpoints. Playground requests bypass credit checks.
Endpoint
POST https://simplewebapis.com/mcp
Uses Streamable HTTP transport. Include your API key in the X-Api-Key header.
Authentication
Authenticate using the same API key you use for REST endpoints. Pass it in the X-Api-Key header with each MCP request.
Generate and manage API keys from your dashboard.
Available Tools
The MCP server exposes the following tools. Each tool maps directly to one of our REST API endpoints.
Generate 1D barcodes in popular symbologies including Code 128, EAN-13, UPC-A, and more.
text
(string, required)
, format
(string, optional)
, width
(int, optional)
, height
(int, optional)
, includeText
(bool, optional)
Convert unstructured CV or resume text into structured JSON data using AI-powered parsing.
text
(string, required)
Look up DNS records for any domain name including A, AAAA, MX, NS, TXT, and CAA records.
domain
(string, required)
Generate Data Matrix 2D barcodes from any text or data.
text
(string, required)
, size
(int, optional)
Statistically predict the likely gender and probability for a given first name based on worldwide name frequency data.
name
(string, required)
, country
(string, optional)
Extract OpenGraph metadata from any URL including title, description, image, and custom properties.
url
(string, required)
Generate professional PDF invoices with line items, addresses, and custom styling.
invoiceData
(string, required
— JSON with invoiceNumber, dates
, seller
, customer
, items
, comments
, currency)
Generate professional PDF packing slips with line items, tracking information, and shipping details.
packingSlipData
(string, required
— JSON with slipNumber, shipDate
, addresses
, items
, trackingNumber
, carrier
, notes)
Generate professional PDF purchase orders with line items, addresses, and tax calculations.
purchaseOrderData
(string, required
— JSON with orderNumber, dates
, addresses
, items
, taxRate
, notes)
Generate professional PDF quotes with line items, tax and discount rates, and validity dates.
quoteData
(string, required
— JSON with quoteNumber, dates
, addresses
, items
, taxRate
, discountRate
, notes
, terms)
Generate professional PDF receipts with line items, payment details, and custom styling.
receiptData
(string, required
— JSON with receiptNumber, date
, addresses
, items
, amountPaid
, paymentMethod
, transactionId)
Generate customisable QR codes from URLs, text, or any data.
text
(string, required)
, size
(int, optional)
Generate custom QR codes with branded colours, gradients, and a centred logo.
text
(string, required)
, darkColor
(string, optional)
, lightColor
(string, optional)
, gradientColors
(string[], optional)
, gradientDirection
(string, optional)
, moduleShape
(string, optional)
, finderPatternShape
(string, optional)
, logoUrl
(string, optional)
Analyse any text and get detailed statistics including readability scores, word frequency, and pattern detection.
text
(string, required)
Look up WHOIS registration data for any domain name including registrar, dates, and nameservers.
domain
(string, required)
Client Configuration
Add SimpleWebAPIs as an MCP server in your client's configuration. Here are examples for popular tools:
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"simplewebapis": {
"url": "https://simplewebapis.com/mcp",
"headers": {
"X-Api-Key": "swa_your_api_key_here"
}
}
}
}
Generic HTTP Client
For any MCP-compatible client that supports Streamable HTTP, point it at:
Endpoint: https://simplewebapis.com/mcp
Auth: X-Api-Key header
Transport: Streamable HTTP (POST)
Credits & Billing
MCP tool calls consume credits just like REST API calls. Check each tool's credit cost above. Your remaining credits and usage are visible on the dashboard.