Simple MCP server example for Claude with a local JSON HTTP server

Simple MCP server example for Claude with a local JSON HTTP server

node-simple-mcp-example•bysunmer

A basic setup that lets Claude desktop interact with a local mock JSON server through MCP tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Offers MCP tools that appear in Claude once the MCP server is configured and Claude is restarted.
  • •Sends actual requests from Claude to the local mock JSON server through the configured MCP tools.
  • •Supports prompting Claude to fetch all posts or insert a new post with a specified id, title and views.

BEST FOR

  • •Setting up a simple local MCP integration with Claude desktop and a mock JSON API.
  • •Demonstrating how Claude can call MCP tools to interact with local data.

ABOUT NODE-SIMPLE-MCP-EXAMPLE

Simple MCP server example for Claude with a local JSON HTTP server is cataloged as an MCP server attributed to sunmer. A basic setup that lets Claude desktop interact with a local mock JSON server through MCP tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Simple MCP server example for Claude with a local JSON HTTP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What should be running when prompting Claude with this MCP setup?

Both the JSON server and the MCP server should be running when you prompt Claude.

Upstream README

View this exact version on GitHub

README.md · cc8927ec98e9 · Fetched 2026-11-13 12:25:12 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

🛠️ Simple MCP Example with Claude and a Local JSON HTTP Server

This guide walks you through a basic setup where you use Claude (MacOS desktop) to interact with a local mock JSON server via MCP (Model-Computer Protocol).


🧰 Prerequisites

  • Node.js installed
  • Claude for MacOS (download from Anthropic)
  • Basic understanding of how local servers and Claude MCP tools work

🚀 Step-by-Step Setup

1. Install Dependencies

In the root of your project, install the required packages:

npm install
npm run mock-api
npm run mcp-server

Edit the claude_desktop_config.json file (usually found in ~/.claude/ or the app's internal config folder), and add your MCP server config:

{
  "mcpServers": {
    "json-chat": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-example/dist/index.js"]
    }
  }
}
  • Restart Claude

  • Once restarted, you should see two new MCP tools appear below the input bar in Claude, each marked with a 🛠️ hammer icon:

  • Try prompting Claude with something like:

"get all posts"

"insert a post with id 500, title "created by claude" and views 123"

Claude will use the MCP tools you've configured to send actual requests to your local mock server.

Make sure you're running the JSON server, MCP server when you prompt Claude.

Testing

Run

npx @modelcontextprotocol/inspector node build/index.js

You should then see all of the available resources at http://127.0.0.1:6274/#resources

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Simple MCP server example for Claude with a local JSON HTTP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/node-simple-mcp-example)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools