Use the Postman plugin for Claude Code

View as Markdown

The Postman plugin for Claude Code connects Claude Code to your Postman workspace so you can work with APIs and Postman resources from your coding environment.

The plugin requires Claude Code v1.0.33 or later and a Postman API key.

Get started

Clone the plugin, set your Postman API key, and start Claude Code with the plugin loaded:

$# Clone the plugin
$git clone https://github.com/postman-devrel/postman-claude-code-plugin.git
$
$# Set your API key
$export POSTMAN_API_KEY=<POSTMAN_API_KEY>
$
$# Start Claude Code with the plugin loaded
$cd your-api-project/
$claude --plugin-dir /path/to/postman-claude-code-plugin

In Claude Code, run /postman:setup to verify the connection and select a Postman workspace.

Quick start

After setup, you can describe what you want to do using natural language. For example:

Sync my OpenAPI spec with Postman

The plugin detects the local OpenAPI specification and creates or updates a Postman Collection in your workspace.

How it works

The plugin includes an MCP configuration that connects Claude Code to the Postman MCP Server. It uses MCP tools to work with your Postman resources, and includes skills that provide Postman and API development context.

To learn more about the plugin, its available commands, and current installation options, go to the Postman plugin for Claude Code repository.