npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-unico

v0.2.0-alpha.3

Published

MCP server for Unico — Brazilian identity verification & KYC (IDCloud, IDPay, IDCheck, Sign). CPF/CNPJ, document OCR, face match, liveness, PEP/watchlists, processes, webhooks, Unico Score.

Readme

@codespar/mcp-unico

MCP server for Unico — the Brazilian identity verification leader. CPF/CNPJ validation, document OCR, face biometrics, liveness, PEP / watchlist / court-records screening.

First entry in the CodeSpar identity category. Commerce agents onboarding sellers (marketplaces), running high-value transactions, or operating KYC-regulated flows need identity verification — Unico is the BR standard. Paired with @codespar/mcp-onfido for BR-first + global coverage.

Products

Unico sells three separately-contracted products. This server exposes tools for all three; agents should call only what's enabled on your contract (disabled products return 403).

| Product | What it does | |----------|-------------------------------------------------------------------------| | IDCloud | CPF/CNPJ validation with Receita Federal, document OCR, authenticity | | IDPay | Face match + liveness for login and payment authentication | | IDCheck | PEP, sanctions watchlists, Brazilian court records |

Tools (18)

| Tool | Purpose | |---|---| | validate_cpf | IDCloud: validate a Brazilian CPF with Receita Federal. | | validate_cnpj | IDCloud: validate a Brazilian CNPJ with Receita Federal. | | extract_document | IDCloud: OCR + structured field extraction from a Brazilian ID document image. | | verify_document_authenticity | IDCloud: tamper / forgery detection on a document image. | | face_match | IDPay: biometric 1:1 comparison between a live selfie and a document photo. | | liveness_check | IDPay: passive liveness detection. | | check_pep | IDCheck: Politically Exposed Person screening. | | check_watchlists | IDCheck: global sanctions / adverse-media screening. | | court_records_search | IDCheck: Brazilian judicial-records search. | | get_process_status | IDCheck: poll the status of a verification process previously created via the Unico Web/Mobile SDK or API. | | batch_get_process_status | IDCheck: batch status lookup. | | upload_process_document | IDCheck: upload a captured image to a running verification process. | | get_extracted_data | IDCheck: fetch the structured OCR result for a finished process — typed fields (name, document number, issu... | | get_unico_score | IDCheck: Unico Score — Brazil's identity-fraud risk score (0-1000, higher = lower risk) computed from Unico... | | connect_portability_check | Connect: cross-tenant portability check. | | register_webhook | Webhooks: subscribe a callback URL to receive Unico process events (process.created, process.finished, proc... | | list_webhooks | Webhooks: list all webhook subscriptions registered for this tenant. | | delete_webhook | Webhooks: remove a webhook subscription. |

Install

npm install @codespar/mcp-unico@alpha

Environment

UNICO_CLIENT_ID="..."       # OAuth client_id
UNICO_CLIENT_SECRET="..."   # OAuth client_secret
UNICO_ENV="sandbox"         # Optional. 'sandbox' | 'production'. Default: sandbox
UNICO_BASE_URL="..."        # Optional. Default: https://api.unico.co
UNICO_AUTH_URL="..."        # Optional. Default: https://auth.unico.co

Authentication

OAuth 2.0 Client Credentials. The server posts client_id:client_secret as Basic auth to Unico's token endpoint and caches the bearer token in memory until 60 s before expiry. Unico's docs require server-side integration only — never expose these credentials to a browser or mobile client.

Run

# stdio (default)
npx @codespar/mcp-unico

# HTTP
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-unico

Status

Shipped as 0.1.0-alpha.1. Unico's REST contract lives behind the devcenter.unico.io portal and is gated by merchant account. Tool names and argument shapes are stable, but exact endpoint paths may shift once we validate against live credentials — override UNICO_BASE_URL / UNICO_AUTH_URL if your account is served from a different host. PRs welcome once you've seen the real payloads.

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