Skip to main content

Give Claude your product catalogue in 2 minutes with json-mcp-lite

Turn JSON product data into tools for Claude instantly without writing server code. Compatible with Claude Code, Claude Desktop, and Cursor.

AI-written
Inewgen
07 Oct 2026Source: Dev.to2 min read (0 views)
Share
Give Claude your product catalogue in 2 minutes with json-mcp-lite

Stock photo for illustration only, not from the actual event

Font size
  • Connect product catalogues to Claude in just 2 minutes
  • No server coding required using json-mcp-lite
  • Transform JSON data into 3 callable tools for Claude
  • Seamlessly works with Claude Code, Claude Desktop, and Cursor

Most Model Context Protocol (MCP) tutorials typically begin by instructing you to write a server from scratch. However, if your goal is simply to let Claude answer questions from a catalogue, an FAQ list, or a pricing sheet, writing custom code is entirely unnecessary.

A tool called json-mcp-lite was designed to turn a standard JSON array into three distinct tools that Claude can invoke directly. You can get started by cloning the repository and installing dependencies with the following commands:

git clone https://github.com/scoretracker4321/json-mcp-lite && cd json-mcp-lite && npm install

Next, register the server using the command line tool:

claude mcp add products -- node $( pwd ) /src/server.js --file $( pwd ) /examples/products.json --name products --id sku --search title,description

Once configured, you can prompt Claude Code with queries like "Which teas are under 400 and in stock?". The assistant will invoke products_search, read the returned data, and formulate answers straight from your actual dataset rather than relying on internal memory.

Never miss the latest news?

Subscribe to get news summaries by email - not often enough to be annoying.

โฆษณา

software developer writing code typescript laptop workspace

Stock photo for illustration only, not from the actual event

For users of Claude Desktop or Cursor, the exact same command can be added to the mcpServers block within your configuration file, with precise JSON formats available in the repository's README.

Technical Context: MCP bridges AI models with external data sources securely without retraining. Open-source utilities like json-mcp-lite under the MIT license offer a streamlined approach for solo developers prototyping features, keeping setup lightweight before scaling to hosted REST APIs or team environments.

Should your architecture evolve—such as moving data behind a REST API or hosting a shared server for an entire team—the creator also offers an advanced package named MCP Server Kit, which converts an OpenAPI specification into typed tools using a single configuration file.

Source: Dev.to

Comments

Leave a Comment
0/2000

Found something wrong in this article? Report an issue with this article