Catalog PyPI
PACKAGE EXPLORERView in registry

aifmt

PyPI

Make visual text content just work. An MCP server that fixes, validates, and generates diagrams, tables, and box-drawing art for AI coding assistants.

aialignmentascii-artcopilotdiagramsmcpvisual-width
Versions collected1
Direct dependencies3From release 0.1.0a1
Last observed21 Oct, 10:43 UTC

README

Version 0.1.0a1 documentation

aifmt

Make visual text content just work.

An MCP server that fixes, validates, and generates visual text content for AI coding assistants.

Tests License: MIT Python 3.10+


LLMs can't count visual columns. len("📦") returns 1, but it renders wider. Every AI-generated box, table, and tree diagram ends up misaligned. aifmt fixes it.

Install

pip install aifmt

Configure

Add to your MCP client (Copilot CLI, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI):

{
  "mcpServers": {
    "aifmt": {
      "command": "uvx",
      "args": ["aifmt"]
    }
  }
}

Tools

ToolDescription
fixRepair misaligned boxes, tables, bars, and tree diagrams
validateCheck for alignment issues without modifying
generateCreate diagrams via Mermaid or PlantUML
targetsList rendering profiles (GitHub, terminal, custom)

Key Insight

GitHub renders emoji at 2.5 monospace columns — not 2.0. aifmt uses rendering-profile-aware width calculation to handle this. Read how we discovered it →

Documentation

📖 ericchansen.github.io/aifmt

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0a123 Mar 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

ACCESSIBLE
ericchansen/aifmt

Shared repository data · GitHub

License detected in repository
MIT
License branch / ref
master
Last push
6 Apr 2026
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots21 Oct 2026
10.50
2026-10-21: 0 · observed 2026-10-21T17:09:21.0033620Z
21 Oct21 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2102026-10-21T17:09:21.0033620Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:20a72cab10d2e35c63e0c60007ea7a0daa23332c85d948e1a48457db2a92b69f