MCP.so
Sign In
Servers

JSONPlaceholder MCP Server

@akshay3001

Repo for MCP servers playground

Overview

What is JSONPlaceholder MCP Server?

A Model Context Protocol (MCP) server implementation that provides tools to interact with the JSONPlaceholder API (Users, Posts, Comments, Albums, Todos) and basic calculator functions (add, subtract).

How to use JSONPlaceholder MCP Server?

Install Node.js v18.0.0 or later, clone the repository, run npm install, then use npm start for the JSONPlaceholder server, npm run start:calculator for the calculator server, or npm run start:jsonplaceholder explicitly. Configuration for VS Code is provided via mcp.json or settings.json.

Key features of JSONPlaceholder MCP Server

  • Calculator server with basic arithmetic operations (add, subtract)
  • JSONPlaceholder server accessing Users, Posts, Comments, Albums, Todos
  • VS Code integration via mcp.json or settings.json
  • Easy npm scripts to run each server separately
  • Supports Node.js v18.0.0 or later with native fetch

Use cases of JSONPlaceholder MCP Server

  • Fetching and managing placeholder data for testing or prototyping
  • Performing simple calculations within an MCP environment
  • Demonstrating MCP server capabilities with realistic API data
  • Integrating placeholder data into AI workflows through MCP

FAQ from JSONPlaceholder MCP Server

What runtime is required?

Node.js v18.0.0 or later is required for native fetch support.

How do I run the calculator server?

Use the command npm run start:calculator.

Can I use both servers simultaneously?

The README describes separate scripts; you can run them in separate terminals or configure both in VS Code.

How do I integrate with VS Code?

Add the server configurations to .vscode/mcp.json or VS Code settings.json as shown in the README.

What data does the JSONPlaceholder server provide?

It provides access to Users, Posts, Comments, Albums, and Todos from the JSONPlaceholder API.

More from Other