jsonplaceholder-mcp
A simple mcp server of JsonPlaceHolder.
Documentation
JsonPlaceHolder MCP Application
A comprehensive Model Context Protocol (MCP) server that interacts with the JsonPlaceholder (```https://jsonplaceholder.typicode.com```)API to provide access to users, posts, albums, and related data.
๐ Features
This MCP Server provides a set of tools to interact with various endpoints of the JSONPlaceholder API:
๐ค User Tools
- Get Users: Retrieve a list of all users
- Get User by ID: Fetch details of a specific user
- Get User Posts: Retrieve all posts created by a specific user
- Get User Albums: Fetch all albums created by a specific user
- Get User Todos: Retrieve all todos associated with a specific user
๐ Post Tools
- Get Posts: Retrieve a list of all posts
- Get Post by ID: Fetch details of a specific post
- Get Post Comments: Retrieve all comments on a specific post
๐ผ๏ธ Album Tools
- Get Albums: Retrieve a list of all albums
- Get Album by ID: Fetch details of a specific album
- Get Album Photos: Retrieve all photos in a specific album
๐ ๏ธ Technical Details
This application is built using:
- TypeScript
- Zod for schema validation
- Fetch API for data retrieval
Usage with Claude Desktop
Docker
1. ###### Build
docker build -t json-place-holder .2. ###### Add this to claude_desktop_config.json
{
"mcpServers": {
"JsonPlaceHolder Notes Server": {
"command": "docker",
"args": ["run", "-i", "--rm", "json-place-holder"]
}
}
}NPX
1. Install the libraries
npm run install2. Build the server
npm run build3. Add this to claude_desktop_config.json
Note: For Windows use path : `absolute_path\\dist\\index.js`
{
"mcpServers": {
"JsonPlaceHolder MCP Server": {
"command": "node",
"args": [
"absolute_path/dist/index.js"
]
}
}
}Or Inspect Locally
npm run inspectFrequently asked questions
What is jsonplaceholder-mcp?
jsonplaceholder-mcp is A simple mcp server of JsonPlaceHolder.
How do I install jsonplaceholder-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is jsonplaceholder-mcp open source?
Yes โ it is hosted on GitHub at https://github.com/p-gokul/JsonPlaceHolder-MCP and has 1 stars.
Related MCP tools
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
Official Notion MCP Server TypeScript-based implementation. Trusted by 3400+ developers. Trusted by 3400+ developers. Trusted by 3400+ developers.
Directory for Awesome MCP Servers TypeScript-based implementation. Trusted by 1900+ developers. Trusted by 1900+ developers.
๐งฉ MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes.
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker TypeScript-based implementation. Trusted by 1400+ developers.
MCP Server for kubernetes management commands TypeScript-based implementation. Trusted by 1100+ developers. Trusted by 1100+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP