Skip to main content
MCP server CX Codex

Avrotize — Claude Code MCP server: what it does, how to install

Converts data contracts between JSON Schema, Protobuf, Avro, and database models while generating typed code. Useful for bridging mismatched APIs.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add avrotize -- uvx avrotize
Open on GitHub

What Avrotize does

The server functions as an intermediate translator for contract definitions. Avrotize maps incoming specifications to an internal Avrotize Schema derived from Apache Avro. From there, it generates target schema definitions or typed classes for TypeScript, Go, Python, and Rust.

The tool handles dozens of input sources, including Parquet, XML Schema, FlatBuffers, and Protobuf. It can also inspect schemas directly from databases such as PostgreSQL, MySQL, BigQuery, and MongoDB.

Database inspection commands fail unless you install specific driver extras such as avrotize[postgres] beforehand. Python 3.10 is strictly required.

What it helps with

  • convert JSON Schema or XML definitions into Protocol Buffers
  • generate typed structures for TypeScript, Go, or Rust from schema files
  • extract database table definitions from PostgreSQL into intermediate schemas
  • transform Kafka Connect and Parquet schemas into Avro contracts

Example prompts for the agent

  • Convert the schema.json file from JSON Schema to Protobuf 3
  • Generate TypeScript interfaces based on the events.avsc Avro schema
  • Extract the PostgreSQL database schema and transform it into Avrotize Schema

How to install Avrotize

Platform CLI

claude mcp add avrotize -- uvx avrotize

uvx runs the command named after the package; if the README names another one, use uvx --from avrotize <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Avrotize

How do I install Avrotize in Claude Code?

Run claude mcp add avrotize -- uvx avrotize in your terminal. You must have Python 3.10 or later installed on your system.

What does Avrotize do?

It translates data structure definitions between formats such as Avro, JSON Schema, Protobuf, and relational databases. It also produces typed code across multiple programming languages.

Are extra packages needed for database conversion?

Yes, inspecting SQL schemas requires optional driver extras. Install packages such as avrotize[postgres] or avrotize[all-sql] depending on your target database.

Similar MCP servers

All MCP servers for Backend and APIs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor