JSON MCP Lite
io.github.scoretracker4321v1.0.0更新於 Oct 7, 2026
Serve any JSON file as read-only list, keyword search and get-by-id MCP tools.
概覽
把本機 JSON 檔案變成唯讀的 MCP 工具,用來列出、關鍵字搜尋與依 id 取得記錄。
- 功能
- 這個本機 stdio 伺服器會讀取單一 JSON 檔案,並以你指定的前置名稱提供三個唯讀工具:支援 limit 與 offset 分頁的列表工具、每個字詞都必須符合且不分大小寫的關鍵字搜尋工具,以及依 id 欄位回傳單筆記錄的取得工具。你可以指定檔案、檔案內陣列的路徑、id 欄位與搜尋欄位。它適合目錄、FAQ、價目表和文件索引等情境。
- 適用情境
- 當你有一份小型靜態 JSON 資料,希望助理不必撰寫程式就能瀏覽與搜尋時使用,例如產品目錄、FAQ 或文件索引。它適合透過 stdio 連線的本機桌面用戶端,如 Claude Desktop、Claude Code 或 Cursor。
- 執行需求
- 以本機 stdio 程序執行,需要 Node.js 20 或更新版本。可從打包的發行檔安裝,或複製儲存庫後執行 npm install。你必須提供 JSON 檔案路徑,並可選填陣列路徑、工具名稱前置字串、id 欄位與搜尋欄位。未宣告需要帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 JSON MCP Lite,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
json-mcp-lite
Turn a JSON file into an MCP server in one command, so Claude Desktop, Claude Code, Cursor or any stdio MCP client can browse and search your data.
Give it a catalogue, an FAQ, a price list or a docs index, and it creates three read-only tools:
MIT licence. Node.js 20+. Two dependencies: the official @modelcontextprotocol/sdk and zod.
Try it
Use it with Claude Desktop or Cursor
Claude Code:
Then ask: "Which teas are under ₹400 and in stock?" or "Show me product MUG-001."
Options
Need more than a JSON file?
json-mcp-lite is the free, local, single-file part of MCP Server Kit ($29, one-time). The Kit adds:
- Any REST API → MCP tools from its OpenAPI 3 spec: one typed tool per operation, auth injected from env, read-only filter, include/exclude lists
- Remote hosting over Streamable HTTP (stateless, proxy-friendly), not only stdio
- API-key auth and per-key rate limits, CORS,
/healthand/toolsendpoints - Several sources in one server, set up in one YAML/JSON config file
- Docker image, an Express router to mount inside your own app, and deploy guides
Licence
MIT. Built by Brain Grain ([email protected]).
來源:README.md,提交 3ddb5bc
工具
0版本歷史
1- v1.0.0最新Oct 7, 2026


