JSON

JSON

MCP server for JSON schema generation and filtering across JSON data.

17
Stars
7
Forks
0
Releases

Overview

JSON MCP Filter is a powerful MCP server that provides JSON schema generation and filtering tools for local files and remote HTTP/HTTPS endpoints. Built with quicktype for robust TypeScript type generation, it converts JSON into TypeScript interfaces and enables shape-based extraction of relevant fields. It supports remote sources and large datasets through automatic 400KB chunking, while enforcing a 50MB size limit with memory safety. The server offers three tools: json_schema to generate TypeScript types from JSON, json_filter to extract nested fields according to a shape object (with support for arrays and nested objects), and json_dry_run to analyze data size and propose chunking strategies before filtering. It includes clear, actionable error messages with debugging information and smart error reporting for common issues. Designed to integrate with Claude Desktop and Claude Code MCP workflows, this server emphasizes speed, safety, and typed data for GPT-based context extraction.

Details

Owner
kehvinbehvin
Language
JavaScript
License
MIT License
Updated
2025-12-07

Features

Schema Generation

Convert JSON to TypeScript interfaces using quicktype

Smart Filtering

Extract specific fields with shape-based filtering

Remote Support

Works with HTTP/HTTPS URLs and API endpoints

Auto Chunking

Handles large datasets with automatic 400KB chunking

Size Protection

Built-in 50MB limit with memory safety

MCP Ready

Seamless integration with Claude Desktop and Claude Code

Smart Errors

Clear, actionable error messages with debugging info

Audience

DevelopersGenerate TS types and filter JSON for LLM context with shape-based extraction.
MCP IntegratorsConfigure MCP servers to extract JSON fields for contextual AI workflows.
AI EngineersCreate typed interfaces and filtered data for ML/LLM data pipelines.

Tags

JSONMCPTypeScriptquicktypeschema-generationshape-based-filteringremote-sourceschunkingsize-protectionLLM-contextClaude