Skip to main content
Glama

checkpj-mcp-server

MCP server for CheckPJ — Brazilian company data API.

Exposes 4 tools for Claude and other MCP-compatible AI assistants:

  • lookup_company — Look up a company by CNPJ

  • search_companies — Search companies by name, CNAE, state, or municipality

  • get_health_score — Get a company's health/risk score

  • validate_cnpj — Check if a CNPJ is valid and active

Setup

Claude Code

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "checkpj": {
      "command": "node",
      "args": ["/path/to/checkpj-mcp/dist/index.js"],
      "env": {
        "CHECKPJ_API_KEY": "your-api-key"
      }
    }
  }
}

npm (global install)

npm install -g checkpj-mcp-server

Then use checkpj-mcp as the command.

Related MCP server: apipj MCP server

Configuration

Set CHECKPJ_API_KEY environment variable for authenticated access. Without it, the free tier (limited requests) is used.

Development

bun install
bun build src/index.ts --outdir dist --target node
node dist/index.js

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Brazilian company-registry lookup via Receita Federal, allowing AI agents to query CNPJ data.
      59 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables lookup and validation of Brazilian companies by CNPJ, returning registration status, address, CNAE activities, Simples Nacional/MEI status, and partners from monthly Receita Federal open data, plus validation of numeric or alphanumeric CNPJ check digits and search of active companies by activity and municipality.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables querying Brazilian company records from open Receita Federal data without a local database, covering CNPJ lookups, partners, corporate networks, addresses, filters, and DJEN legal notices. It uses public APIs and remote Parquet files to support partial reads and caching.
      10
      2
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to look up Brazilian companies by CNPJ for registration status, public sanctions, federal tax debt, and related records with source dates, plus company search, supplier checks, business-idea analysis, and monitoring. It provides a remote MCP connection with free tools and optional paid additions such as required CNIA checks, supplier reports, unmasked details, risk dossiers, and continued monitoring.
      1
      MIT No Attribution