Skip to content

Conversation

@rxzzh
Copy link

@rxzzh rxzzh commented Dec 29, 2025

Hello Awesome-json Team,

I wrote a small tool to get the struct of a large json file, good for human and LLM understanding.
https://github.com/rxzzh/jsonskim
hope it will be merged into the awesome-json family!

Thanks for your review!

Adding jsonskim - a UNIX-style CLI tool for extracting JSON structure by collapsing arrays and truncating long strings.

Why jsonskim?

  • Array Collapse: Retains only the first N elements of each array
  • String Truncation: Automatically shortens long strings with length indicators
  • LLM-Ready: Output optimized for AI context windows (ChatGPT, Claude, etc.)
  • Single Binary: ~700KB static executable, zero dependencies
  • MCP Support: Works as a Claude Desktop tool via Model Context Protocol

Example

Input (imagine millions of records):

{"users": [{"id": 1, "bio": "very long..."}, {"id": 2}, ...], "logs": [...]}

Output:

{"users": [{"id": 1, "bio": "very lo...<truncated>"}], "logs": [...]}

Checklist

  • Open source (MIT)
  • Clear documentation
  • Actively maintained
  • Unique functionality not covered by existing tools
  • Available on GitHub Releases and npm (MCP server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant