JSON Query MCP

by mgraczyk
Integrations
  • Provides installation support for macOS users through configuration in the macOS-specific Cursor MCP location.

  • Supports working with large Swagger API definition files, allowing extraction of specific portions from these definitions.

  • Enables extracting information from JSON structures to write TypeScript interfaces based on the data.

JSON-Abfrage MCP

Ein Model Context Protocol (MCP)-Server zum Abfragen großer JSON-Dateien. Dieser Server bietet Tools für die Arbeit mit großen JSON-Daten, die von LLM-Modellen verwendet werden können, die das Model Context Protocol implementieren.

Merkmale

  • Abfragen von JSON-Dateien mit JSONPath-Ausdrücken
  • Suche nach Schlüsseln, die einer Abfragezeichenfolge ähneln
  • Suchen Sie nach Werten, die einer Abfragezeichenfolge ähneln

Beispiel

Hier ist ein Beispiel des Cursor-Agenten, der das Tool verwendet, um eine sehr große (> 1 Mio. Zeichen) JSON-Swagger-Definition zu lesen und einen kleinen Teil zu extrahieren, um eine Typescript-Schnittstelle zu schreiben.

Verwendung

npx json-query-mcp

Installation im Cursor

Fügen Sie Folgendes zu Ihrem Cursor-MCP-JSON hinzu (unter macOS ist dies /Users/$USER/.cursor/mcp.json )

{ "mcpServers": { ... other mcp servers "json-query": { "command": "npx", "args": [<local path to this repo>], }, } }

Entwicklung

# 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

Lizenz

MIT

You must be authenticated.

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

Ein Model Context Protocol-Server zum Abfragen großer JSON-Dateien mithilfe von JSONPath-Ausdrücken, der es LLMs ermöglicht, effizient nach Informationen in großen JSON-Daten zu suchen und diese zu extrahieren.

  1. Merkmale
    1. Beispiel
      1. Verwendung
        1. Installation im Cursor
          1. Entwicklung
            1. Lizenz

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
                Last updated -
                10
                53
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
                Last updated -
                45
                8
                JavaScript
                MIT License
                • Linux
                • 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 -
                2
                116
                24
                JavaScript
                MIT License
                • Apple
                • Linux
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.
                Last updated -
                2
                Python
                • 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