swiss-army
22 utility tools (x402 USDC on Base): currency, PDF, image, GDPR. Free health.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (6)
- LOWen encode_base64
- LOWen decode_base64
- LOWen html_to_text
- LOWen extract_pdf_text
- LOWen classify_gdpr
- LOWen detect_secrets
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"swiss-army": {
"url": "https://swiss.api.ainode.tech/mcp"
}
}
}Puntos de conexión remotos
https://swiss.api.ainode.tech/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (23)
⚪health(echo)
Health check. Returns server status and optional echo.
Esquema de entrada
{
"type": "object",
"properties": {
"echo": {
"type": "string",
"description": "Optional string to echo back"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪json_to_csv(input)
Convert JSON array of objects to RFC 4180 CSV.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "JSON array string"
}
},
"required": [
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪csv_to_json(input)
Convert CSV string to JSON array of objects.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "CSV string"
}
},
"required": [
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪encode_base64(input)
Encode a UTF-8 string to Base64.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "UTF-8 string to encode"
}
},
"required": [
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪decode_base64(input)
Decode a Base64 string to UTF-8.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Base64 string to decode"
}
},
"required": [
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪generate_hash(input, algorithm)
Generate MD5, SHA-256, or SHA-512 hex digest.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "String to hash"
},
"algorithm": {
"type": "string",
"description": "Hash algorithm: md5, sha256, or sha512"
}
},
"required": [
"input",
"algorithm"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪generate_uuid(count)
Generate one or more UUID v4 values.
Esquema de entrada
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Number of UUIDs to generate (1-100, default 1)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪html_to_text(input)
Strip HTML tags and decode entities to plain text.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "HTML string to convert"
}
},
"required": [
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪markdown_to_html(input)
Convert Markdown to HTML.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Markdown string to convert"
}
},
"required": [
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢extract_url_metadata(url)
Extract Open Graph metadata from a URL.
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL to extract metadata from"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪convert_timezone(datetime, from_timezone, to_timezone)
Convert a datetime between IANA timezones.
Esquema de entrada
{
"type": "object",
"properties": {
"datetime": {
"type": "string",
"description": "Datetime in ISO format (YYYY-MM-DDTHH:mm:ss)"
},
"from_timezone": {
"type": "string",
"description": "Source IANA timezone (e.g. America/New_York)"
},
"to_timezone": {
"type": "string",
"description": "Target IANA timezone (e.g. Europe/Lisbon)"
}
},
"required": [
"datetime",
"from_timezone",
"to_timezone"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢parse_cron(expression, count)
Parse a cron expression and return next run times.
Esquema de entrada
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Cron expression (e.g. '0 9 * * 1-5')"
},
"count": {
"type": "number",
"description": "Number of next runs to return (1-20, default 5)"
}
},
"required": [
"expression"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪test_regex(pattern, input, flags)
Test a regex pattern against an input string.
Esquema de entrada
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "Regular expression pattern"
},
"input": {
"type": "string",
"description": "Input string to test against"
},
"flags": {
"type": "string",
"description": "Regex flags (g, i, m, s, u, y)"
}
},
"required": [
"pattern",
"input"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪convert_currency(amount, from, to)
Convert an amount between currencies using cached ECB exchange rates.
Esquema de entrada
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Amount to convert"
},
"from": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "Source currency code (ISO 4217)"
},
"to": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "Target currency code (ISO 4217)"
}
},
"required": [
"amount",
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢extract_pdf_text(pdf)
Extract text content from a base64-encoded PDF document.
Esquema de entrada
{
"type": "object",
"properties": {
"pdf": {
"type": "string",
"description": "Base64-encoded PDF document"
}
},
"required": [
"pdf"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪resize_image(image, width, height, format, quality)
Resize and compress a base64-encoded image.
Esquema de entrada
{
"type": "object",
"properties": {
"image": {
"type": "string",
"description": "Base64-encoded image data"
},
"width": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Target width in pixels"
},
"height": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Target height in pixels"
},
"format": {
"type": "string",
"enum": [
"png",
"jpeg",
"webp"
],
"default": "png",
"description": "Output format"
},
"quality": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "JPEG quality (1-100)"
}
},
"required": [
"image",
"width",
"height"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢validate_nif(nif)
Validate Portuguese NIF/NIPC tax identification number (mod-11 check digit).
Esquema de entrada
{
"type": "object",
"properties": {
"nif": {
"type": "string",
"description": "Portuguese NIF or NIPC (9 digits)"
}
},
"required": [
"nif"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪validate_iban(iban)
Validate IBAN (ISO 13616 mod-97) with SEPA BIC lookup for Portuguese banks.
Esquema de entrada
{
"type": "object",
"properties": {
"iban": {
"type": "string",
"description": "IBAN string (with or without spaces)"
}
},
"required": [
"iban"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪verify_eu_vat(country_code, vat_number)
Verify EU VAT number via VIES (European Commission free API).
Esquema de entrada
{
"type": "object",
"properties": {
"country_code": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO 3166-1 alpha-2 country code (e.g. PT, DE, FR)"
},
"vat_number": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"description": "VAT number without country prefix"
}
},
"required": [
"country_code",
"vat_number"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪classify_gdpr(text)
Detect GDPR PII categories in text (email, phone, IP, name, location). Returns categories only, never actual PII values.
Esquema de entrada
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 50000,
"description": "Text to scan for PII categories"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪generate_csp(directives, report_uri, report_only)
Generate Content-Security-Policy header from structured directives input.
Esquema de entrada
{
"type": "object",
"properties": {
"directives": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "CSP directives map, e.g. { 'script-src': ['self', 'nonce-abc123'] }"
},
"report_uri": {
"type": "string",
"format": "uri",
"description": "Report URI for CSP violations"
},
"report_only": {
"type": "boolean",
"default": false,
"description": "Use Content-Security-Policy-Report-Only header"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪validate_cors(allow_origin, allow_methods, allow_headers, allow_credentials, max_age, ...)
Validate CORS policy against security best practices. Reports issues by severity.
Esquema de entrada
{
"type": "object",
"properties": {
"allow_origin": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Access-Control-Allow-Origin value(s)"
},
"allow_methods": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed HTTP methods"
},
"allow_headers": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed request headers"
},
"allow_credentials": {
"type": "boolean",
"description": "Access-Control-Allow-Credentials"
},
"max_age": {
"type": "number",
"description": "Access-Control-Max-Age in seconds"
},
"expose_headers": {
"type": "array",
"items": {
"type": "string"
},
"description": "Access-Control-Expose-Headers"
}
},
"required": [
"allow_origin"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪detect_secrets(text)
Detect hardcoded secrets, API keys, and credentials in text using pattern matching and entropy analysis.
Esquema de entrada
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 100000,
"description": "Text, code, or configuration to scan for secrets"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia