Look up and validate Brazilian companies by CNPJ inside Cursor, using Receita Federal open data through the apipj MCP server.
- MCP server (
mcp.json):https://apipj.com.br/mcp, Streamable HTTP.validar_cnpjandstatus_basework without an account.consultar_cnpjasks you to connect your apipj account (OAuth; Google sign-in works). The free plan includes 50,000 lookups per month.
- Rule (
rules/apipj-cnpj.mdc): teaches the agent how to call the apipj REST API correctly (auth, 404 vs 429 handling, alphanumeric CNPJ, caching) when you write integration code.
Add to ~/.cursor/mcp.json or .cursor/mcp.json in your project:
{
"mcpServers": {
"apipj": { "url": "https://apipj.com.br/mcp" }
}
}Consulte e valide CNPJ (inclusive o CNPJ alfanumérico) direto no Cursor, com os dados abertos da Receita Federal. Plano grátis com 50 mil consultas por mês: crie sua conta. Guia completo: https://apipj.com.br/guias/consultar-cnpj-ia-mcp
- Docs: https://apipj.com.br/docs
- JavaScript/TypeScript client: https://www.npmjs.com/package/apipj
- Python client: https://pypi.org/project/apipj/
- MCP Registry:
br.com.apipj/cnpj
License: MIT