io.github.Ainode-tech/swiss-army
Official23 tools22 utility tools (x402 USDC on Base): currency, PDF, image, GDPR. Free health.
Provides 22 utility tools for currency conversion, PDF handling, images, and GDPR compliance.
Captured live from the server via tools/list.
health
Health check. Returns server status and optional echo.
Parameters (1)
- echostring
Optional string to echo back
json_to_csv
Convert JSON array of objects to RFC 4180 CSV.
Parameters (1)
- inputstringrequired
JSON array string
csv_to_json
Convert CSV string to JSON array of objects.
Parameters (1)
- inputstringrequired
CSV string
encode_base64
Encode a UTF-8 string to Base64.
Parameters (1)
- inputstringrequired
UTF-8 string to encode
decode_base64
Decode a Base64 string to UTF-8.
Parameters (1)
- inputstringrequired
Base64 string to decode
generate_hash
Generate MD5, SHA-256, or SHA-512 hex digest.
Parameters (2)
- inputstringrequired
String to hash
- algorithmstringrequired
Hash algorithm: md5, sha256, or sha512
generate_uuid
Generate one or more UUID v4 values.
Parameters (1)
- countnumber
Number of UUIDs to generate (1-100, default 1)
html_to_text
Strip HTML tags and decode entities to plain text.
Parameters (1)
- inputstringrequired
HTML string to convert
markdown_to_html
Convert Markdown to HTML.
Parameters (1)
- inputstringrequired
Markdown string to convert
extract_url_metadata
Extract Open Graph metadata from a URL.
Parameters (1)
- urlstringrequired
URL to extract metadata from
convert_timezone
Convert a datetime between IANA timezones.
Parameters (3)
- datetimestringrequired
Datetime in ISO format (YYYY-MM-DDTHH:mm:ss)
- from_timezonestringrequired
Source IANA timezone (e.g. America/New_York)
- to_timezonestringrequired
Target IANA timezone (e.g. Europe/Lisbon)
parse_cron
Parse a cron expression and return next run times.
Parameters (2)
- expressionstringrequired
Cron expression (e.g. '0 9 * * 1-5')
- countnumber
Number of next runs to return (1-20, default 5)
test_regex
Test a regex pattern against an input string.
Parameters (3)
- patternstringrequired
Regular expression pattern
- inputstringrequired
Input string to test against
- flagsstring
Regex flags (g, i, m, s, u, y)
convert_currency
Convert an amount between currencies using cached ECB exchange rates.
Parameters (3)
- amountnumberrequired
Amount to convert
- fromstringrequired
Source currency code (ISO 4217)
- tostringrequired
Target currency code (ISO 4217)
extract_pdf_text
Extract text content from a base64-encoded PDF document.
Parameters (1)
- pdfstringrequired
Base64-encoded PDF document
resize_image
Resize and compress a base64-encoded image.
Parameters (5)
- imagestringrequired
Base64-encoded image data
- widthintegerrequired
Target width in pixels
- heightintegerrequired
Target height in pixels
- formatstring
Output format
- qualityinteger
JPEG quality (1-100)
validate_nif
Validate Portuguese NIF/NIPC tax identification number (mod-11 check digit).
Parameters (1)
- nifstringrequired
Portuguese NIF or NIPC (9 digits)
validate_iban
Validate IBAN (ISO 13616 mod-97) with SEPA BIC lookup for Portuguese banks.
Parameters (1)
- ibanstringrequired
IBAN string (with or without spaces)
verify_eu_vat
Verify EU VAT number via VIES (European Commission free API).
Parameters (2)
- country_codestringrequired
ISO 3166-1 alpha-2 country code (e.g. PT, DE, FR)
- vat_numberstringrequired
VAT number without country prefix
classify_gdpr
Detect GDPR PII categories in text (email, phone, IP, name, location). Returns categories only, never actual PII values.
Parameters (1)
- textstringrequired
Text to scan for PII categories
generate_csp
Generate Content-Security-Policy header from structured directives input.
Parameters (3)
- directivesobject
CSP directives map, e.g. { 'script-src': ['self', 'nonce-abc123'] }
- report_uristring
Report URI for CSP violations
- report_onlyboolean
Use Content-Security-Policy-Report-Only header
validate_cors
Validate CORS policy against security best practices. Reports issues by severity.
Parameters (6)
- allow_originanyrequired
Access-Control-Allow-Origin value(s)
- allow_methodsarray
Allowed HTTP methods
- allow_headersarray
Allowed request headers
- allow_credentialsboolean
Access-Control-Allow-Credentials
- max_agenumber
Access-Control-Max-Age in seconds
- expose_headersarray
Access-Control-Expose-Headers
detect_secrets
Detect hardcoded secrets, API keys, and credentials in text using pattern matching and entropy analysis.
Parameters (1)
- textstringrequired
Text, code, or configuration to scan for secrets
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"swiss-army": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://swiss.api.ainode.tech/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.