Urgent.News

What's breaking now, across thousands of outlets.

AI

How to give an agent access to the Brazil companies database in one command (MCP)

O agente precisa responder perguntas como "essa empresa existe, está ativa, faz o quê, fica onde e como entro em contato". A resposta existe na base da Receita Federal. O problema é o caminho até ela. As opções manuais cobram pedágio. Planilha baixada perde a data de referência na segunda semana. Scraper de portal quebra no primeiro redesign. CSV mensal pesa gigabytes e exige pipeline próprio. E…

Translated from Portuguese Read in Portuguese

The Brazilian Federal Revenue database is now accessible through an API server called cnpj.ia.br, which provides a unified and dated source of information for agents to verify company details. The API offers four tools: consultar_cnpj, buscar_empresas, gerar_filtro, and ver_uso, with costs ranging from 1 to 6 credits per operation.

A free plan with 60 credits per month is available, as well as paid plans with varying credit and request limits. The API provides data such as company status, CNAE, and address, but does not return complete CPF numbers or undated data.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

How LangChain, LangGraph, LangSmith fits together

LangChain, LangGraph, LangSmith: Three Names, One Confusing Naming Convention They all start with "Lang," they're all made by the same company, and they solve three completely different problems.

  • LangChain provides building blocks for LLM applications
  • LangGraph orchestrates agents as StateGraphs with checkpoints
  • LangSmith offers observability for agent performance monitoring

More from Monday 21 September →