Skip to main content
MCP server CX Codex

mcp-onfido — Claude Code MCP server: what it does, how to install

Connects Onfido identity verification and KYC workflows to your AI assistant. Useful for managing applicants, file uploads, and checks from IDE chats.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env ONFIDO_API_TOKEN=<ONFIDO_API_TOKEN> --env ONFIDO_REGION=<ONFIDO_REGION> --transport stdio onfido -- npx -y @codespar/mcp-onfido
Open on GitHub

What mcp-onfido does

This server connects coding agents to Onfido API version 3.6 with 20 distinct tools. It handles identity checks covering 195+ countries. Agents can register applicant records, submit identity documents, handle selfie uploads, and trigger check reports directly. Workflow runs for Onfido Studio are supported too.

Document files and selfie photos arrive as base64 strings. The tool bundles them into multipart/form-data before forwarding them to Onfido. Beyond default endpoints, optional region routing handles EU, US, and CA data residency via ONFIDO_REGION. You can run the process over stdio or switch to HTTP on port 3000.

A valid ONFIDO_API_TOKEN is mandatory or requests fail immediately. Direct live photo uploads may be blocked depending on your Onfido contract settings. In those setups, use generate_sdk_token to handle capture through client SDKs instead.

What it helps with

  • create and manage applicant profiles for identity verification
  • upload identity documents and live photos encoded as base64
  • inspect status of KYC checks and read detailed breakdown reports
  • mint short-lived tokens for frontend Onfido SDK integrations
  • trigger and monitor Onfido Studio workflow runs

Example prompts for the agent

  • Create an applicant record in Onfido for Jane Doe using email [email protected]
  • Upload passport.jpg for applicant app_123 and trigger standard document checks
  • Generate an SDK token for applicant app_123 to initialize verification in the mobile app

How to install mcp-onfido

Platform CLI

claude mcp add --env ONFIDO_API_TOKEN=<ONFIDO_API_TOKEN> --env ONFIDO_REGION=<ONFIDO_REGION> --transport stdio onfido -- npx -y @codespar/mcp-onfido

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-onfido

How to install mcp-onfido in Claude Code?

Run claude mcp add mcp-onfido -e ONFIDO_API_TOKEN=<ONFIDO_API_TOKEN> -- npx -y @codespar/mcp-onfido.

What does mcp-onfido do?

It exposes 20 tools for running applicant identity verification, document parsing, and AML screening against Onfido.

How does the server handle image uploads?

You pass the image as a base64 string, and the server automatically wraps the payload into multipart/form-data.

Similar MCP servers

Everything for Security →

From the same set124

mcp-pagbrasil Wires three PagBrasil tools into your agent: create an order, check its status, issue a refund. Useful when your store sells into Brazil and takes Pix or boleto. CX Codex +1 ★ 274repo stars mcp-pagar-me Connects AI agents to the Pagar.me payment platform to issue Pix charges, handle split payouts, and manage billing. CX Codex +1 ★ 274repo stars mcp-openpay Connects an AI coding agent to Openpay for charges, customers, subscriptions, MXN payouts, and webhooks. Built for the Mexican gateway. CX Codex +1 ★ 274repo stars mcp-open-finance Connects a coding agent to Open Finance Brasil: accounts, transactions, consents, cards, loans and investments. Useful when your code talks to Brazilian banking APIs. CX Codex +1 ★ 274repo stars mcp-omie Connects an AI agent to Omie for customer, product, order, invoice, and finance operations. Useful when ERP actions should run from an agent chat. CX Codex +1 ★ 274repo stars mcp-nuvem-fiscal An MCP server that connects your agent to Nuvem Fiscal for issuing NF-e, NFS-e, NFC-e, CT-e and MDF-e, plus CNPJ and CEP lookups. CX Codex +1 ★ 274repo stars mcp-nupay Connects AI assistants to the NuPay merchant checkout by Nubank. It handles Pix transactions, manages shopper refunds, and configures recurring billing flows. CX Codex +1 ★ 274repo stars mcp-nubank This MCP server is designed to access Nubank accounts, PIX, cards, and boletos through Open Finance Brasil. Its current API endpoint is unreachable. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor