JSON Query MCP
Запрос JSON MCP
Сервер Model Context Protocol (MCP) для запроса больших файлов JSON. Этот сервер предоставляет инструменты для работы с большими данными JSON, которые могут использоваться моделями LLM, реализующими Model Context Protocol .
Функции
Запрос файлов JSON с использованием выражений JSONPath
Поиск ключей, похожих на строку запроса
Поиск значений, похожих на строку запроса
Related MCP server: JSON MCP Server
Пример
Ниже приведен пример использования агентом курсора инструмента для чтения очень большого (>1 млн символов) определения JSON Swagger и извлечения небольшой части для написания интерфейса TypeScript.

Использование
npx json-запрос-mcp
Установка в курсоре
Добавьте следующее в ваш курсор mcp json (на macOS это /Users/$USER/.cursor/mcp.json )
{
"mcpServers": {
... other mcp servers
"json-query": {
"command": "npx",
"args": [<local path to this repo>],
},
}
}Разработка
# Run in development mode
npm run dev
# Run tests
npm test
# Format code
npm run format
# Lint code
npm run lint
# Fix lints
npm run fixЛицензия
Массачусетский технологический институт
Available Tools
3 toolsjson_query_jsonpathB
Query a JSON file using JSONPath. Use to get values precisely from large JSON files.
Inputs: file_path (required), jsonpath (required).
json_query_search_keysA
Search for keys in a JSON file. Use when you do not know the path to a key in a large JSON file, but have some idea what the key is.
Inputs: file_path (required), query (required), limit.
json_query_search_valuesA
Search for values in a JSON file. Use when you do not know the path to a value in a large JSON file, but have some idea what the value is.
Inputs: file_path (required), query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: json_query_jsonpath targets precise path-based queries, json_query_search_keys focuses on key discovery, and json_query_search_values handles value discovery. There is no overlap in functionality, making it easy for an agent to select the correct tool based on the query need.
All tool names follow a consistent verb_noun pattern with 'json_query_' as a prefix, followed by specific descriptors (jsonpath, search_keys, search_values). This uniformity enhances readability and predictability across the tool set.
With 3 tools, the server is well-scoped for JSON querying, covering path-based queries, key searches, and value searches. However, it might be slightly thin if more advanced operations like filtering or transformation are expected, but it reasonably covers core query needs.
The tools provide comprehensive coverage for querying JSON files, including precise path queries and exploratory searches for keys and values. A minor gap exists in lacking tools for JSON manipulation (e.g., update or delete), but this is acceptable given the server's focus on querying rather than editing.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.640MIT
- AlicenseCqualityFmaintenanceA Model Context Protocol server implementation that enables LLMs to query and manipulate JSON data using JSONPath syntax with extended operations for filtering, sorting, transforming, and aggregating data.290MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.1MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.111-