JSONPlaceholder

live Development

Fake REST API for prototyping and testing — posts, users, and comments with no setup required

4 tools
0ms auth
free tier 50 calls/day

Tools

get_posts

Retrieve a list of fake blog posts from JSONPlaceholder. Useful for prototyping and testing. Returns post ID, user ID, title, and body text.

Parameters
Name Type Description
limit opt number Maximum number of posts to return (default 10, max 100).
Try it
get_post required: id

Retrieve a single fake blog post by its ID from JSONPlaceholder. Returns post ID, user ID, title, and body text.

Parameters
Name Type Description
id req number Post ID to retrieve (1–100).
Try it
get_users

Retrieve a list of fake users from JSONPlaceholder. Returns name, username, email, address, phone, website, and company details.

No parameters required.

Try it
get_comments required: post_id

Retrieve comments for a specific fake blog post from JSONPlaceholder. Returns comment ID, commenter name, email, and body text.

Parameters
Name Type Description
post_id req number Post ID whose comments to retrieve (1–100).
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/jsonplaceholder/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/jsonplaceholder/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_posts","arguments":{}}}'