Klarefi

Complete regulated intake work and retrieve cited case files without deciding the case.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
98%
Integridad del esquema
78%
Calidad de los nombres
98%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

  • LOWTool 'answer_fields' description lacks action verben answer_fields

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,665Tokens (definiciones de herramientas)
~946 BTamaño de respuesta típico
Impacto significativo en la atención (2.08% del contexto de 128k)

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": {
    "mcp": {
      "command": "npx",
      "args": [
        "@klarefi/mcp"
      ]
    }
  }
}

Paquetes ejecutables

npm@klarefi/mcp0.3.0stdio

Puntos de conexión remotos

https://www.klarefi.com/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (20)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🔴create_connector_from_openapi(connector_key, openapi_url, label, base_url)

Import a public OpenAPI JSON URL as a Klarefi verification connector. JSON specs only (convert YAML first). The result reports whether the configuration is active or staged for operator approval.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "connector_key": {
      "type": "string"
    },
    "openapi_url": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "base_url": {
      "type": "string"
    }
  },
  "required": [
    "connector_key",
    "openapi_url"
  ]
}
🔴create_connector

Create or update a Klarefi verification connector manifest. The result reports whether the configuration is active or staged for operator approval.

Esquema de entrada

{
  "type": "object",
  "required": [
    "connector_key",
    "label",
    "connector_type",
    "transport",
    "functions"
  ],
  "additionalProperties": true
}
🔴delete_connector(connector_key)

Delete a configured Klarefi connector by key or stage its deletion for operator approval.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "connector_key": {
      "type": "string"
    }
  },
  "required": [
    "connector_key"
  ]
}
🟡create_intake_session(case_type_id, external_case_id, external_applicant_id, external_customer_id, return_url, ...)

Create a hosted Klarefi intake session.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "case_type_id": {
      "type": "string"
    },
    "external_case_id": {
      "type": "string"
    },
    "external_applicant_id": {
      "type": "string"
    },
    "external_customer_id": {
      "type": "string"
    },
    "return_url": {
      "type": "string"
    },
    "ttl_hours": {
      "type": "number"
    },
    "locale": {
      "type": "string"
    },
    "prefill": {
      "type": "object",
      "additionalProperties": true,
      "description": "Prefill payload passed through to the session; schema owned by the prefill feature"
    }
  },
  "required": [
    "case_type_id"
  ]
}
🟢get_case(case_id)

Retrieve a Klarefi case and resolved facts.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "case_id": {
      "type": "string"
    }
  },
  "required": [
    "case_id"
  ]
}
🟢list_operator_queue(limit)

List the bounded Klarefi operator queue for this API key's environment. Requires cases:review.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  }
}
🟢get_case_workspace(case_id)

Inspect a case workspace with facts, cited evidence, blockers, ownership, and timeline. This does not mutate the case.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "case_id": {
      "type": "string"
    }
  },
  "required": [
    "case_id"
  ]
}
🟢get_case_package(case_id)

Get the cited case_package.v1 artifact and a signed read-only case-file URL.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "case_id": {
      "type": "string"
    }
  },
  "required": [
    "case_id"
  ]
}
🔴submit_case_review(case_id, command_type, payload, rationale, idempotency_key, ...)

Submit an auditable intake-review command. Allowed commands review or correct facts, request clarification, update evidence, or escalate. This tool cannot complete or reopen a case.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "case_id": {
      "type": "string"
    },
    "command_type": {
      "type": "string",
      "enum": [
        "approve_fact",
        "correct_fact",
        "request_applicant_info",
        "add_custom_evidence",
        "update_fact_evidence",
        "escalate"
      ]
    },
    "payload": {
      "type": "object",
      "additionalProperties": true
    },
    "rationale": {
      "type": "string"
    },
    "idempotency_key": {
      "type": "string"
    },
    "trace_id": {
      "type": "string"
    }
  },
  "required": [
    "case_id",
    "command_type",
    "payload"
  ]
}
🟢get_review_command(case_id, command_id)

Poll the status and result of an intake-review command.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "case_id": {
      "type": "string"
    },
    "command_id": {
      "type": "string"
    }
  },
  "required": [
    "case_id",
    "command_id"
  ]
}
🟢list_workflows

List versioned Form · Fact · Verify workflow declarations.

Esquema de entrada

{
  "type": "object",
  "properties": {}
}
🔴save_workflow_draft(workflow)

Validate and save a workflow declaration as a draft. This tool cannot publish or activate the workflow.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "workflow": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "workflow"
  ]
}
🟢open_intake(url, session_id, access_token, api_base_url)

Read an applicant intake from a signed URL or from session_id plus access_token. No Klarefi API key is required. On the hosted MCP endpoint, include the same intake credential in each later intake tool call.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    }
  }
}
🟢get_intake_state(url, session_id, access_token, api_base_url)

Get the current applicant intake state. Pass url, or session_id with access_token, on the hosted MCP endpoint.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    }
  }
}
🔴answer_question(url, session_id, access_token, api_base_url, text, ...)

Answer the active applicant question with free text, optionally targeting a task_id.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    },
    "text": {
      "type": "string"
    },
    "task_id": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ]
}
🔴answer_fields(url, session_id, access_token, api_base_url, fields, ...)

Answer structured requested facts by fact_id. Values must be strings; yes_no fields take "yes" or "no", and date fields use YYYY-MM-DD.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    },
    "fields": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "String values keyed by fact_id."
    },
    "task_id": {
      "type": "string"
    }
  },
  "required": [
    "fields"
  ]
}
🟡upload_document(url, session_id, access_token, api_base_url, file_path, ...)

Upload a requested applicant document. Use content_base64 on the hosted MCP endpoint. Local stdio clients can use file_path. Inline content is limited to 5MB decoded; local files can be up to 25MB.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    },
    "file_path": {
      "type": "string"
    },
    "content_base64": {
      "type": "string"
    },
    "filename": {
      "type": "string",
      "description": "Required with content_base64. Defaults to the basename of file_path."
    },
    "mime_type": {
      "type": "string"
    },
    "task_id": {
      "type": "string"
    }
  }
}
🔴submit_intake(url, session_id, access_token, api_base_url, field_values)

Submit the applicant intake. Returns submitted, blockers, and the fresh intake state.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    },
    "field_values": {
      "type": "object",
      "additionalProperties": true,
      "description": "Optional final field values; each value must be string or null."
    }
  }
}
🔴save_intake_draft(url, session_id, access_token, api_base_url, fields)

Save applicant form draft fields without submitting. Field values must be strings or null.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    },
    "fields": {
      "type": "object",
      "additionalProperties": true,
      "description": "Draft field values keyed by field_id."
    }
  },
  "required": [
    "fields"
  ]
}
🟢wait_for_next_action(url, session_id, access_token, api_base_url, timeout_seconds)

Poll until the intake leaves processing or the timeout expires. If timed_out is true, call wait_for_next_action again.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Signed hosted intake URL. Include it in every call to the hosted MCP endpoint."
    },
    "session_id": {
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "Applicant access token. Use it with session_id instead of url."
    },
    "api_base_url": {
      "type": "string",
      "description": "Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override."
    },
    "timeout_seconds": {
      "type": "number",
      "default": 60,
      "maximum": 120
    }
  }
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada20 herramientas
verificadoversión no registrada20 herramientas