BRAINIAC Document Formats & Identifiers
Paid Document Formats & Identifiers API via x402. Unpaid tool calls return 402.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (12)
- LOWen document-formats_en16931-invoice-validate
- LOWen document-formats_en16931-invoice-validate
- LOWen document-formats_fhir-resource-validate
- LOWen document-formats_fhir-resource-validate
- LOWen document-formats_mrz-parse-checkdigits
- LOWen document-formats_mrz-parse-checkdigits
- LOWen document-formats_epc-swiss-qr-bill-parse
- LOWen document-formats_epc-swiss-qr-bill-parse
- LOWen document-formats_pdf-table-extract
- LOWen document-formats_pdf-table-extract
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": {
"document-formats": {
"url": "https://www.brainiac.software/mcp/document-formats"
}
}
}Puntos de conexión remotos
https://www.brainiac.software/mcp/document-formatsstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (6)
🟢document-formats_en16931-invoice-validate(xml, pdfBase64, syntax)
Validate UBL or CII e-invoices against CEN EN 16931 artefacts 1.3.17 (and UBL 2.1 XSD). Docs: https://www.brainiac.software/api/document-formats/en16931-invoice-validate Keywords: when validating a document format or identifier, xml, pdfBase64, syntax, valid, customizationId, documentId, xsd, rules, notes, Validate EN 16931 electronic invoices, en16931 invoice validate.
Esquema de entrada
{
"type": "object",
"properties": {
"xml": {
"description": "xml, string, length 0 to 5000000. Optional.",
"type": "string",
"maxLength": 5000000
},
"pdfBase64": {
"description": "pdfBase64, string, length 0 to 13981077. Optional.",
"type": "string",
"maxLength": 13981077
},
"syntax": {
"default": "auto",
"description": "syntax, string, one of auto, ubl, cii. Required.",
"type": "string",
"enum": [
"auto",
"ubl",
"cii"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"valid": {
"type": "boolean",
"description": "valid. Boolean."
},
"syntax": {
"type": "string",
"description": "syntax. String."
},
"customizationId": {
"type": "string",
"description": "customizationId. String."
},
"documentId": {
"type": "string",
"description": "documentId. String."
},
"xsd": {
"type": "object",
"properties": {
"checked": {
"type": "boolean",
"description": "checked. Boolean."
},
"errors": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "errors. Array."
}
},
"additionalProperties": {},
"description": "xsd. Object."
},
"rules": {
"type": "object",
"properties": {
"artefactVersion": {
"type": "string",
"description": "artefactVersion. String."
},
"fatal": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "fatal. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
}
},
"additionalProperties": {},
"description": "rules. Object."
},
"notes": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "notes. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢document-formats_fhir-resource-validate(resource, version)
Validate a FHIR resource against the official HL7 JSON Schema for R4 or R5. Docs: https://www.brainiac.software/api/document-formats/fhir-resource-validate Keywords: when validating a document format or identifier, resource, version, valid, resourceType, errors, Validate FHIR JSON resources, fhir resource validate.
Esquema de entrada
{
"type": "object",
"properties": {
"resource": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string",
"maxLength": 2000000
}
],
"description": "resource, value. Required."
},
"version": {
"default": "R4",
"description": "version, string, one of R4, R5. Required.",
"type": "string",
"enum": [
"R4",
"R5"
]
}
},
"required": [
"resource"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"valid": {
"type": "boolean",
"description": "valid. Boolean."
},
"version": {
"type": "string",
"description": "version. String."
},
"resourceType": {
"type": "string",
"description": "resourceType. String."
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "path. String."
},
"keyword": {
"type": "string",
"description": "keyword. String."
},
"message": {
"type": "string",
"description": "message. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "errors. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢document-formats_mrz-parse-checkdigits(mrz)
Parse TD1/TD2/TD3 machine-readable zones and verify ICAO Doc 9303 check digits. Docs: https://www.brainiac.software/api/document-formats/mrz-parse-checkdigits Keywords: when validating a document format or identifier, format, documentCode, issuingState, surname, givenNames, documentNumber, nationality, birthDate, sex, expiryDate, Parse MRZ and verify check digits, mrz parse checkdigits.
Esquema de entrada
{
"type": "object",
"properties": {
"mrz": {
"anyOf": [
{
"type": "string",
"minLength": 20,
"maxLength": 200
},
{
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"minLength": 20,
"maxLength": 50
}
}
],
"description": "mrz, value. Required."
}
},
"required": [
"mrz"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "format. String."
},
"documentCode": {
"type": "string",
"description": "documentCode. String."
},
"issuingState": {
"type": "string",
"description": "issuingState. String."
},
"surname": {
"type": "string",
"description": "surname. String."
},
"givenNames": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "givenNames. Array."
},
"documentNumber": {
"type": "string",
"description": "documentNumber. String."
},
"nationality": {
"type": "string",
"description": "nationality. String."
},
"birthDate": {
"type": "string",
"description": "birthDate. String."
},
"sex": {
"type": "string",
"description": "sex. String."
},
"expiryDate": {
"type": "string",
"description": "expiryDate. String."
},
"optionalData": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "optionalData. Array."
},
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "field. String."
},
"expected": {
"type": "string",
"description": "expected. String."
},
"found": {
"type": "string",
"description": "found. String."
},
"valid": {
"type": "boolean",
"description": "valid. Boolean."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "checks. Array."
},
"valid": {
"type": "boolean",
"description": "valid. Boolean."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢document-formats_epc-swiss-qr-bill-parse(payload)
Parse SEPA EPC069-12 or Swiss QR-bill SPC text into structured payment fields. Docs: https://www.brainiac.software/api/document-formats/epc-swiss-qr-bill-parse Keywords: when validating a document format or identifier, payload, type, version, characterSet, bic, name, iban, amount, purpose, remittance, payloadBytes, Parse EPC GiroCode and Swiss QR-bill payloads, epc swiss qr bill parse.
Esquema de entrada
{
"type": "object",
"properties": {
"payload": {
"type": "string",
"minLength": 3,
"maxLength": 1000,
"description": "payload, string, length 3 to 1000. Required."
}
},
"required": [
"payload"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"version": {
"type": "string",
"description": "version. String."
},
"characterSet": {
"type": "number",
"description": "characterSet. Number."
},
"bic": {
"type": "string",
"description": "bic. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"iban": {
"type": "string",
"description": "iban. String."
},
"amount": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "currency. String."
},
"value": {
"type": "string",
"description": "value. String."
}
},
"additionalProperties": {},
"description": "amount. Object."
},
"purpose": {
"type": "string",
"description": "purpose. String."
},
"remittance": {
"type": "object",
"properties": {
"reference": {
"type": "string",
"description": "reference. String."
}
},
"additionalProperties": {},
"description": "remittance. Object."
},
"payloadBytes": {
"type": "number",
"description": "payloadBytes. Number."
},
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "field. String."
},
"valid": {
"type": "boolean",
"description": "valid. Boolean."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "checks. Array."
},
"valid": {
"type": "boolean",
"description": "valid. Boolean."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢document-formats_pdf-table-extract(pdfBase64, pages, mode)
Extract bordered or whitespace-aligned tables from a caller-supplied PDF (no OCR). Docs: https://www.brainiac.software/api/document-formats/pdf-table-extract Keywords: when validating a document format or identifier, pdfBase64, pages, mode, pageCount, tables, pagesWithoutText, Extract tables from a text PDF, pdf table extract.
Esquema de entrada
{
"type": "object",
"properties": {
"pdfBase64": {
"type": "string",
"minLength": 16,
"maxLength": 20971584,
"description": "pdfBase64, string, length 16 to 20971584. Required."
},
"pages": {
"description": "pages, array. Optional.",
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "item, integer, from any to 9007199254740991. Required."
}
},
"mode": {
"default": "auto",
"description": "mode, string, one of auto, lattice, stream. Required.",
"type": "string",
"enum": [
"auto",
"lattice",
"stream"
]
}
},
"required": [
"pdfBase64"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"pageCount": {
"type": "number",
"description": "pageCount. Number."
},
"tables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"page": {
"type": "number",
"description": "page. Number."
},
"mode": {
"type": "string",
"description": "mode. String."
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "item. Array."
},
"description": "rows. Array."
},
"merged": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "merged. Array."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "tables. Array."
},
"pagesWithoutText": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "pagesWithoutText. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢document-formats_barcode-decode(imageBase64, formats, tryHarder, maxResults)
Decode 1D/2D barcodes (QR, Data Matrix, PDF417, Code 128, EAN, …) from a PNG/JPEG/WebP/GIF. Docs: https://www.brainiac.software/api/document-formats/barcode-decode Keywords: when validating a document format or identifier, imageBase64, formats, tryHarder, maxResults, count, results, Decode barcodes from an image, barcode decode.
Esquema de entrada
{
"type": "object",
"properties": {
"imageBase64": {
"type": "string",
"minLength": 16,
"maxLength": 13981077,
"description": "imageBase64, string, length 16 to 13981077. Required."
},
"formats": {
"description": "formats, array. Optional.",
"type": "array",
"items": {
"type": "string",
"description": "item, string. Required."
}
},
"tryHarder": {
"default": true,
"description": "tryHarder, boolean. Required.",
"type": "boolean"
},
"maxResults": {
"default": 10,
"description": "maxResults, integer, from 1 to 20. Required.",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"imageBase64"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "count. Number."
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "format. String."
},
"text": {
"type": "string",
"description": "text. String."
},
"contentType": {
"type": "string",
"description": "contentType. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "results. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}Comunidad
Evidencia