JSON Filter

•
26
•

Optimizes JSON data for Large Language Model (LLM) contexts by providing schema generation and intelligent filtering capabilities.

JSON Filter is a specialized Model Context Protocol (MCP) server designed to enhance the efficiency of LLM interactions by intelligently processing large JSON files. It leverages `quicktype` to automatically generate TypeScript type definitions from JSON samples, ensuring strong typing for data structures. Furthermore, it offers powerful shape-based filtering, allowing users to extract only the most relevant data fields, significantly reducing the token count sent to LLMs. This makes it an invaluable tool for developers and data scientists working with extensive JSON datasets and integrating them seamlessly into Claude Desktop or Claude Code.

Características Principales

013 GitHub stars
02Built with TypeScript for type safety and comprehensive error handling
03Shape-based JSON Data Filtering for specific field extraction
04JSON Schema Generation from files (using quicktype-core)
05Seamless MCP Integration with Claude Desktop and Claude Code

Casos de Uso

01Generating accurate TypeScript type definitions from JSON samples for robust application development.
02Integrating custom JSON data preprocessing capabilities directly within Claude AI environments.
03Optimizing large JSON files for LLM context by extracting only relevant data fields.