Jmespath Mcp

io.github.MukundaKatta由 GitHub 帳號 MukundaKatta 發布v0.1.0更新於 Oct 24, 2026

Run JMESPath queries against JSON. Pure JS, no native binary needed.

已驗證STDIO僅桌面開發者工具資料與分析

概覽

AI 產生的概覽

一個本機 MCP 伺服器,對 JSON 執行 JMESPath 運算式,讓助理可靠地篩選、投影與重塑 JSON 資料。

可以做什麼
用單一工具 json_query(expression, data) 對传入的 JSON 資料執行 JMESPath 運算式並回傳結果。支援巢狀鍵存取、陣列投影、篩選器、管線以及 length、sort_by、contains、keys 等內建函式。支援透過 to_entries 與 from_entries 進行往返轉換。由於是純 JavaScript 實作,在 macOS、Linux 與 Windows 上行為一致。
適用情境
當助理需要用篩選器、投影或內建函式查詢或重塑 JSON,而手寫路徑容易出錯時適用,可交由真正的 JMESPath 引擎求值運算式。
執行需求
以本機程序透過 stdio 執行,使用 npx 從 npm 套件 @mukundakatta/jmespath-mcp 安裝,因此需要 Node.js 以及下載該套件的網路存取。未宣告任何驗證、環境變數或標頭。
安裝前請注意
傳給工具的 JSON 資料會交由本機執行的伺服器程序求值,涉及敏感資料時請先確認是否可接受。未顯示需要憑證、付費或寫入操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Jmespath Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@mukundakatta/jmespath-mcp

MCP server for JMESPath JSON queries. One tool: json_query(expression, data). Pure JavaScript implementation, no jq binary needed (works the same on macOS / Linux / Windows).

Why this exists

LLMs handle shallow JSON paths well (foo.bar.baz) but reliably mess up:

  • Array projections (people[*].name)
  • Filters (locations[?state == 'WA'])
  • Pipes and built-in functions (length, sort_by, contains, keys)
  • Round-trips through to_entries / from_entries

JMESPath is the AWS-standardized query language for JSON. This server runs your expression through the real JMESPath engine and returns the result.

Why JMESPath instead of jq?

node-jq requires a postinstall step that downloads the jq binary, which fails reliably on Windows. JMESPath is pure JavaScript with no native dependencies. The query language is similar enough for most LLM use-cases (deep paths, filters, projections, built-ins).

Install — Claude Desktop

json
{  "mcpServers": {    "jmespath": { "command": "npx", "args": ["-y", "@mukundakatta/jmespath-mcp"] }  }}

Same shape for Cursor / Cline / Windsurf / Zed.

Tutorial

See https://jmespath.org/tutorial.html for the language. Common patterns:

  • foo.bar — nested key access
  • people[*].name — pluck from each item
  • people[?age > \30`].name` — filter then project
  • sort_by(people, &age)[*].name — sort + project
  • keys(@), values(@), length(@) — basic functions

License

MIT OR Apache-2.0.

來源:packages/jmespath-mcp/README.md,提交 6fad5bb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分