JSONPlaceholder
live DevelopmentFake REST API for prototyping and testing — posts, users, and comments with no setup required
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.
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.
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.
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.
curl -X POST https://gateway.pipeworx.io/jsonplaceholder/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' 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":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_posts", {}); // Or ask in plain English:
const answer = await px.ask("fake rest api for prototyping and testing — posts, users, and comments with no setup required"); Related packs
Other Pipeworx packs in the same categories (Development):