JSON MCP Server
by GongRzhe
Query and filter JSON data with JSONPath and advanced operations
data Node.js Beginner Self-hostable No API key
β 87 stars π
Updated: 1y ago
Description
An MCP server for JSON handling and processing. Provides 2 tools β query and filter β that operate on remote JSON data via URL using JSONPath syntax. Supports rich operations including array manipulation (slicing, sorting, distinct, flattening, union, intersection), string operations (case conversion, pattern matching), numeric operations (arithmetic, rounding), date operations (formatting, date arithmetic), and aggregation (grouping, sum, average, min/max).
β Best for
AI assistants that need to query and analyze remote JSON APIs with advanced filtering
βοΈ Skip if
You only need to read local JSON files or prefer a GraphQL-based approach
π‘ Use cases
- Querying remote JSON APIs with JSONPath expressions
- Filtering and transforming JSON datasets with complex conditions
- Aggregating JSON data for reports (sum, average, group by)
- Performing date arithmetic and formatting on JSON date fields
- Array operations like sorting, deduplication, and intersection
π Pros
- β Rich operation set beyond basic JSONPath (array, string, numeric, date, aggregation)
- β No API key required β works with any public JSON URL
- β Simple 2-tool interface with powerful underlying capabilities
- β Lightweight Node.js package
π Cons
- β Only fetches JSON from URLs β cannot process local files
- β Two generic tools may be less discoverable than named operations
- β No caching of fetched JSON data
π§ Exposed tools (2 tools)
| Tool | Category | Description |
|---|---|---|
| query | data-query | Query JSON data using JSONPath syntax with extended operations |
| filter | data-query | Filter JSON data using conditions with flexible predicate support |
π‘ Tips & tricks
Use the query tool with JSONPath extended operations for complex transformations. The filter tool accepts conditions for row-level filtering on arrays.
Quick info
- Author
- GongRzhe
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- data
- Difficulty
- Beginner
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- 1.0.3
- Updated
- Mar 13, 2025
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows