Json Mcp Filter banner
kehvinbehvin kehvinbehvin

Json Mcp Filter

Data community

Description

JSON MCP server to filter only relevant data for your LLM

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/kehvinbehvin-json-mcp-filter-badge.png)](https://mseep.ai/app/kehvinbehvin-json-mcp-filter)

JSON MCP Filter

A powerful Model Context Protocol (MCP) server that provides JSON schema generation and filtering tools for local files and remote HTTP/HTTPS endpoints. Built with [quicktype](https://github.com/quicktype/quicktype) for robust TypeScript type generation.

JSON Server MCP server

**Perfect for**: Filtering large JSON files and API responses to extract only relevant data for LLM context, while maintaining type safety.

✨ Key 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

🛠️ Available Tools

`json_schema`

Generates TypeScript interfaces from JSON data.

**Parameters:**

  • filePath: Local file path or HTTP/HTTPS URL

**Example:**

// Input JSON
{"name": "John", "age": 30, "city": "New York"}

// Generated TypeScript
export interface GeneratedType {
    name: string;
    age:  number;
    city: string;
}

`json_filter`

Extracts specific fields using shape-based filtering with automatic chunking for large datasets.

**Parameters:**

  • filePath: Local file path or HTTP/HTTPS URL
  • shape: Object defining which fields to extract
  • chunkIndex (optional): Chunk index for large datasets (0-based)

**Auto-Chunking:**