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


