JsonPlaceHolder-MCP

p-gokul/JsonPlaceHolder-MCP

3.1

If you are the rightful owner of JsonPlaceHolder-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A comprehensive Model Context Protocol (MCP) server that interacts with the JsonPlaceholder API to provide access to users, posts, albums, and related data.

The JsonPlaceHolder MCP Application is a robust server designed to facilitate seamless interaction with the JsonPlaceholder API. It provides a structured approach to accessing and managing data related to users, posts, albums, and more. Built using TypeScript, it leverages Zod for schema validation and the Fetch API for data retrieval, ensuring a reliable and efficient data handling process. This application is particularly useful for developers and testers who need a mock API to simulate real-world scenarios without the need for a backend setup. The server supports various operations such as retrieving user details, fetching posts and comments, and accessing album information, making it a versatile tool for a wide range of applications.

Features

  • User Tools: Includes functionalities to get users, user details by ID, user posts, albums, and todos.
  • Post Tools: Provides capabilities to retrieve posts, post details by ID, and comments on posts.
  • Album Tools: Allows fetching of albums, album details by ID, and photos in albums.

Usages

docker with Claude Desktop

{
  "mcpServers": {
    "JsonPlaceHolder Notes Server": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "json-place-holder"]
    }
  }
}

npx with Claude Desktop

{
  "mcpServers": {
    "JsonPlaceHolder MCP Server": {
      "command": "node",
      "args": [
        "absolute_path/dist/index.js"
      ]
    }
  }
}