Skip to main content
Glama

JSON 查询 MCP

用于查询大型 JSON 文件的模型上下文协议 (MCP) 服务器。该服务器提供处理大型 JSON 数据的工具,可供实现模型上下文协议的LLM 模型使用。

特征

  • 使用 JSONPath 表达式查询 JSON 文件

  • 搜索与查询字符串相似的键

  • 搜索与查询字符串相似的值

例子

下面是一个 Cursor Agent 使用工具读取一个非常大(>1M 个字符)的 JSON Swagger 定义,并提取一小部分来编写 typescript 接口的示例。

例子

用法

npx json-query-mcp

在 Cursor 中安装

将以下内容添加到您的游标 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

执照

麻省理工学院

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol server that provides access to BigQuery. This server enables LLMs to inspect database schemas and execute queries.
    Last updated -
    122
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    A 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.
    Last updated -
    6
    2
    103
    81
    MIT License
    • Apple
    • Linux
  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol server that enables LLMs to understand BigQuery dataset structures and execute SQL queries.
    Last updated -
    19
    3
    MIT License
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.
    Last updated -
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mgraczyk/json-query-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server