Insomnia

•

Integrate Insomnia API client collections with Claude, enabling AI-powered interaction, testing, and documentation without the UI.

insomnia-mcp is a fully-featured MCP server designed to bridge the Insomnia API client with AI agents like Claude. It exposes an extensive suite of 83 tools across 13 categories, allowing programmatic control over Insomnia workspaces, requests, environments, and more. This enables AI to read, write, execute, test, and document API collections, facilitating automation, advanced testing, and enhanced API lifecycle management directly through a command-line interface.

Key Features

01Supports Insomnia v12+ multi-file and legacy single-file database formats with auto-detection.
02Includes robust security features like a script sandbox for pre/post-request scripts and path traversal validation.
03Provides AI-powered tools for generating documentation, realistic request bodies, suggesting tests, and diagnosing failing requests.
040 GitHub stars
05Exposes 83 comprehensive tools for managing Insomnia API collections.
06Offers advanced testing capabilities including load testing, contract validation, and data-driven request execution.

Use Cases

01Perform extensive API testing, including load tests, contract validations, and data-driven scenarios, from the command line or CI/CD pipelines.
02Automate management of Insomnia API collections, environments, and requests using AI agents.
03Leverage AI to generate API documentation, suggest missing tests, and debug failing requests within an Insomnia workspace.