Onfido

Productivity and workflowFinance and commerce

MCP server for Onfido, global identity verification + KYC: applicants, documents, checks, workflows.

Your AI app calls the Onfido MCP server, which does the productivity and workflow and finance and commerce work and sends the result back to the chat.

About Onfido

Onfido is a community MCP server from codespar, filed in our directory under productivity and workflow and finance and commerce. MCP server for Onfido, global identity verification + KYC: applicants, documents, checks, workflows.

Onfido runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-onfido@0.2.2 and talks to it over standard input and output. It needs ONFIDO_API_TOKEN set before Onfido starts.

Onfido is listed in the official MCP registry as io.github.codespar/mcp-onfido, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-onfido
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-onfido

How to set up Onfido

  1. Install Node.js on the machine that runs your AI app, because Onfido starts with npx and downloads its package on first run.
  2. Create ONFIDO_API_TOKEN for Onfido in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Onfido to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Onfido tools to confirm the connection.
  5. Run one read-only task with Onfido first, and keep your app asking before each tool call until the results look right.

Onfido compared with similar servers

  • Hitl by ZenlixAI has fewer GitHub stars than Onfido (274 against 278); both are community servers, and both run locally.
  • Gdrive by isaacphi has more GitHub stars than Onfido (283 against 278); both are community servers, and both run locally.
  • Tools3000 by yuan278501381 has fewer GitHub stars than Onfido (262 against 278); both are community servers, and both run locally.

Before you connect Onfido

  • Give Onfido its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Onfido tool call until you trust what it does with them.
  • Treat text that Onfido fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Onfido on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Onfido

How marketing and sales teams put Onfido to work, by company size. Pick the size closest to yours and start Onfido on one use case.

Small business

  • A busy owner can use Onfido to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Small marketing teams can ask Onfido what slipped last week and which campaign tasks have no owner yet.
  • A small business can ask Onfido which products and customers drive margin, then plan promotions around them.
  • Onfido runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Onfido to build launch checklists from a template and post status updates without a weekly meeting.
  • Team leads can use Onfido to see where work piles up across projects and move it before deadlines slip.
  • Ecommerce teams can connect Onfido to tie campaigns to orders and revenue, not just clicks.
  • Start Onfido on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise PMOs can use Onfido to roll up status across many teams into one view for leadership, with links back to each source task.
  • Large orgs can give Onfido scoped access per workspace, so an agent helps one department without reading another's plans.
  • Enterprises should keep Onfido read-only for agents, with any money movement handled by people and existing approvals.
  • Onfido is a community server, so have security review the code and pin a version before Onfido touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Onfido README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-onfido

MCP server for Onfido, global identity verification and KYC.

Onfido is the identity verification layer behind Revolut, N26, Uber, and hundreds of regulated fintechs. One API covers 195+ countries and the full KYC flow: applicant → document → live photo → check (runs verification) → reports.

Second entry in CodeSpar's identity category alongside Unico (BR-first KYC). Pair them: Unico for Brazilian users (CPF + Receita Federal biometric pool), Onfido when the flow touches non-LatAm users.

Tools (20)

Tool Purpose
create_applicant Create an Onfido applicant, the person record that documents, live photos, and checks attach to.
retrieve_applicant Retrieve an applicant by id.
update_applicant Update fields on an existing applicant.
upload_document Upload an identity document image for an applicant.
retrieve_document Retrieve document metadata by id.
upload_live_photo Upload a live photo (selfie) for an applicant, used by facial_similarity_photo reports.
retrieve_live_photo Retrieve a live photo record by id.
create_check Run a verification check on an applicant.
retrieve_check Retrieve a check by id.
list_checks List all checks for a given applicant.
retrieve_report Retrieve an individual report by id.
delete_applicant Soft-delete an applicant.
list_documents List all documents uploaded for a given applicant.
download_document Download the raw binary of an uploaded document.
list_live_photos List all live photos (selfies) uploaded for a given applicant.
resume_check Resume a check that was paused (typically awaiting_applicant or paused states).
list_reports List the reports contained within a given check.
create_workflow_run Start an Onfido Studio workflow run.
retrieve_workflow_run Retrieve a workflow run by id.
generate_sdk_token Mint a short-lived SDK token for embedding the Onfido Web / iOS / Android SDKs in your frontend.

Flow

create_applicant
    -> upload_document  (front, and back if driving_licence / national_identity_card)
    -> upload_live_photo
    -> create_check      report_names=["document","facial_similarity_photo","watchlist_standard"]
    -> retrieve_check    (poll until status = complete)
    -> retrieve_report   (for each report id to get the detailed breakdown)

Install

npm install @codespar/mcp-onfido

Environment

ONFIDO_API_TOKEN="..."    # API token (required, secret)
ONFIDO_REGION="eu"        # Optional. 'eu' | 'us' | 'ca'. Defaults to api.onfido.com.

Authentication

Onfido uses a non-Bearer header format:

Authorization: Token token=<ONFIDO_API_TOKEN>

The server handles this automatically.

Regional hosts

Region Host
Default https://api.onfido.com
EU https://api.eu.onfido.com
US https://api.us.onfido.com
CA https://api.ca.onfido.com

All requests target API version v3.6 (current stable).

Multipart uploads

upload_document and upload_live_photo accept files as base64-encoded strings. Pass the bytes in file, with file_name and content_type:

{
  "applicant_id": "a1b2c3...",
  "type": "passport",
  "file": "<base64-encoded bytes>",
  "file_name": "passport.jpg",
  "content_type": "image/jpeg"
}

The server wraps it as multipart/form-data before sending.

Note: Onfido increasingly recommends capturing live photos via their SDK rather than API upload. Direct /live_photos upload may be restricted on some accounts, use the SDK flow when in doubt.

Run

# stdio (default, for Claude Desktop, Cursor, etc)
npx @codespar/mcp-onfido

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-onfido

When to pick Onfido vs Unico

Signal Pick
User is Brazilian, need CPF validation + biometric match against Receita Federal Unico
User is outside LatAm, or flow is global Onfido
Regulated fintech needing AML watchlist + PEP screening globally Onfido
Travel / gig marketplace onboarding across 20+ countries Onfido

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Onfido

What is the Onfido MCP server?

MCP server for Onfido, global identity verification + KYC: applicants, documents, checks, workflows. Onfido is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Onfido MCP server?

Add Onfido to your AI app's MCP config with the command npx -y @codespar/mcp-onfido@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-onfido -- npx -y @codespar/mcp-onfido@0.2.2. To run Onfido this way you need Node.js installed.

Does Onfido need an API key?

Yes. Onfido expects ONFIDO_API_TOKEN to be set. Create the key for Onfido in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Onfido an official MCP server?

No. Onfido is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Onfido access to company data.

What license is Onfido under?

Onfido is released under the MIT license, according to its GitHub repository. The license covers the code of Onfido; the service it connects to has its own terms.