massa

dev.criandoPublished by criando.devOfficial publisherv0.2.0Updated Oct 28, 2026

Massa de teste brasileira válida: CPF, CNPJ, cartão, conta e mais, em CSV, JSON, SQL ou Excel.

VerifiedStreamable HTTPWeb executableDatabasesDeveloper Tools

Overview

AI-generated overview

Generates and validates Brazilian test data — CPF, CNPJ, cards, bank accounts and more — as CSV, JSON, SQL or Excel, from a JSON schema.

What you can do
  • Generate test data from a massa JSON schema, returning CSV, JSON or SQL script text, up to 100 rows per call, with an Excel link option
  • Generate valid Brazilian documents such as CPF, CNPJ, card numbers with expiry and CVV, bank account details or passwords, with check digits computed
  • Convert a CREATE TABLE DDL from Postgres, MySQL, Oracle or SQL Server into a massa schema, with column-type inference and review warnings
  • List the available field types, their groups, descriptions and parameters, plus the schema format
  • Validate CPF, CNPJ (including alphanumeric), CNH, PIS, CNS, RG (SP), voter title, card, agency and account numbers
When to use it
Useful when you need realistic, rule-valid Brazilian personal and banking data for tests, demos, seed databases or fixtures, or when you want to check whether a Brazilian document number is valid. It fits QA and development work on systems that handle Brazilian identifiers.
Requirements
A remote streamable HTTP endpoint; no package, environment variable or header is declared. No authentication is declared. Network access to the provider's host is needed.
Before you install
Generated CPF, CNPJ, card and account numbers are synthetic but look real; do not use them as actual identities or payment data. Above 100 rows the tool generates nothing and instead returns a curl command for the provider's generation API, which you would run yourself. Validation results are informational, not an official registry check.

Installation

In SourceWeft

  1. Open massa in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.criando%2Fmassa/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "massa": {
      "type": "http",
      "url": "https://massa.criando.dev/mcp"
    }
  }
}

README

This repository has no README.

Tools

5

gerar

Gerar massa de teste

Gera massa de teste a partir de um schema JSON do massa e devolve o arquivo como texto (csv, json ou script sql). Até 100 linhas por chamada; acima disso nada é gerado e a resposta traz o schema e um curl para a API (/api/generate), que gera o volume todo. Com formato xlsx (Excel), devolve um link que baixa o arquivo, sem o teto de linhas: mostre o link ao usuário exatamente como veio. Sem seed no schema, uma é sorteada e devolvida: com a mesma seed e o mesmo schema, o resultado é idêntico. Schema inválido volta como erro com as mensagens campo a campo.

Parametersschemarequiredtabeladialetoformato

gerar_documento

Gerar documento avulso

Gera de 1 a 100 documentos válidos de um tipo: cpf, cnpj, cartao (número, validade e CVV), conta (banco, agência e conta com DV) ou senha. Os dígitos verificadores são calculados, não inventados. Cada tipo aceita só as suas opções (uf no cpf, alfanumerico no cnpj, bandeira no cartao, banco na conta, as regras de tamanho e caracteres na senha); opção que não vale para o tipo é erro. Devolve também a seed usada.

Parametersufseedtiporequiredbancomascarabandeiraespeciaisquantidademin_numerostamanho_maxtamanho_minalfanumerico+3 more

importar_ddl

Importar CREATE TABLE

Converte um CREATE TABLE (Postgres, MySQL, Oracle ou SQL Server) num schema do massa: o tipo de cada coluna sai do nome (nr_cpf vira cpf), do CHECK ou do tipo SQL. Devolve o schema, o nome da tabela, o dialeto e avisos de colunas a revisar. Passe o schema a gerar (com tabela e dialeto) para obter os INSERT.

Parametersddlrequired

listar_tipos

Listar tipos de campo

Lista os tipos de campo que o massa gera (nome, cpf, cnpj, cartao_credito, agencia, data_nascimento, senha…), com grupo, descrição e parâmetros de cada um, e o formato do schema JSON que a ferramenta gerar recebe. Chame antes de montar um schema.

Takes no parameters.

validar_documento

Validar documento

Confere se um número é válido pela regra oficial: cpf, cnpj (inclusive alfanumérico), cnh, pis, cns, rg (SP), titulo_eleitor, cartao (bandeira, tamanho e Luhn; devolve a bandeira), agencia (precisa do banco) e conta (precisa do banco e da agência). Aceita com ou sem máscara. Não gera nada.

Parameterstiporequiredbancovalorrequiredagencia

Version history

1
  1. v0.2.0LatestOct 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.