JSONPlaceholder

by danielpdev

Not rated
GitHub

About

A free public REST API for testing and prototyping, powered by JSONPlaceholder.

Details

Author
danielpdev
Categories
Developer Tools, API

Setup

Install JSONPlaceholder in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/danielpdev/mcp-JSONPlaceholder

Follow the installation instructions in the repository README, then restart your MCP client.

A free public REST API for testing and prototyping, powered by JSONPlaceholder.

A modern Model Context Protocol (MCP) server built with FastMCP that provides access to the JSONPlaceholder API - a free fake REST API for testing and prototyping.

This MCP server providesResources,Tools, andPromptsfor interacting with JSONPlaceholder:

- get_posts- Retrieve all posts or a specific post by ID
- get_users- Retrieve all users or a specific user by ID
- get_comments- Retrieve comments, optionally filtered by post ID
- get_albums- Retrieve albums, optionally filtered by user ID
- get_photos- Retrieve photos, optionally filtered by album ID
- get_todos- Retrieve todos, optionally filtered by user ID
- create_post- Create a new post (simulated)
- search_posts- Search posts by title or body content

- posts://all- Get all posts as a resource
- posts://{post_id}- Get a specific post as a resource
- users://all- Get all users as a resource
- users://{user_id}- Get a specific user as a resource

- analyze_post- Generate analysis prompt for a specific post
- user_profile_summary- Create comprehensive user profile analysis

"mcpServers": { "jsonplaceholder": { "command": "/Users/danielpopa/Projects/work/mcp-server/cursor_runner.sh", "args": [] } } }

- Clone or download this project
- The project is already configured with uv. Simply run:

MCP Inspector(recommended for development):

This opens an interactive web interface to test all tools, resources, and prompts.

uv run mcp install server.py --name "JSONPlaceholder API"

Once connected to an MCP client, you can:

- "Get all posts from JSONPlaceholder"
- "Show me user details for user ID 1"
- "Search for posts containing 'dolor'"
- "Create a new post titled 'Test' with body 'Hello World' for user 1"

- The client can loadposts://allto get all posts as context
- Loadusers://5to get user 5's details as background information

- Use the "analyze_post" prompt with post ID 1 for detailed post analysis
- Use "user_profile_summary" with user ID 2 for comprehensive user profiling

This server uses the JSONPlaceholder API (https://jsonplaceholder.typicode.com/), which provides:

- 100 posts
- 10 users
- 500 comments
- 100 albums
- 5000 photos
- 200 todos

No API key is required as it's completely free and public.

Built withFastMCP, this server demonstrates modern MCP patterns:

- Decorator-based setup- Clean, Pythonic code
- Type hints- Better development experience
- Async/await- Efficient HTTP requests
- Resource management- Proper data exposure to LLMs
- Prompt templates- Reusable interaction patterns
- Development tools- Built-in testing and debugging

- FastMCP- Modern MCP server framework
- httpx- Async HTTP client
- Python 3.10+- Modern Python features
- uv- Fast Python package management

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

An MCP server for interacting with the Postman API, requiring an API key.

Adds possibility to work with testing management via MCP

An enhanced Apifox MCP service providing comprehensive API management capabilities for Claude Desktop and Cursor.

This MCP Server accepts swagger/postman documents as input. It then generates API & Load test scenarios, executes the tests and generates the execution report.

A Model Context Protocol (MCP) server for creating, managing, and executing Bruno API testing collections. Supports both .bru and .yml (opencollection) formats with built-in security hardening.

Execute Bruno collections using the Bruno CLI, with support for environment files and detailed test results.

An MCP server exposing Hoverfly as a programmable API simulation tool for AI assistants.

Postman for MCP — search 156 servers, inspect tools with schema visualizer, test live

An AI-native API testing platform for generating scenarios, executing tests, and analyzing results.

An MCP server and client implementation for the Swagger Petstore API.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.