npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

insomnia-mcp-server

v1.0.1

Published

MCP server for interacting with Insomnia API client

Downloads

197

Readme

insomnia-mcp-server

MCP server that gives AI assistants full access to your Insomnia collections, environments, and HTTP execution.

Features

  • Browse projects, collections, requests, and environments
  • Create & modify collections, folders, requests, and environments
  • Execute HTTP requests with environment variable substitution
  • Export collections to Insomnia v5 YAML format
  • Template rendering{{ _.variable }} syntax in URLs, headers, and bodies
  • Auto-project — creates a "Claude MCP" project automatically when no project is specified

Installation

Zero-install with npx:

npx insomnia-mcp-server

Or install globally:

npm install -g insomnia-mcp-server

Configuration

Claude Code

claude mcp add insomnia-mcp-server -- npx insomnia-mcp-server

Custom Data Directory

By default, the server reads from Insomnia's standard data directory:

| Platform | Default Path | |----------|-------------| | macOS | ~/Library/Application Support/Insomnia | | Linux | $XDG_CONFIG_HOME/Insomnia or ~/.config/Insomnia | | Windows | %APPDATA%/Insomnia |

Override with the INSOMNIA_DATA_DIR environment variable:

INSOMNIA_DATA_DIR=/path/to/data npx insomnia-mcp-server

Tools

Read

| Tool | Parameters | Description | |------|-----------|-------------| | list_projects | — | List all Insomnia projects | | list_collections | projectId | List collections in a project | | list_requests | collectionId | List requests and folders as a tree | | get_request | requestId | Get full request details (URL, headers, body, auth) | | list_environments | collectionId | List environments for a collection | | get_environment | environmentId | Get environment key-value data |

Write

| Tool | Parameters | Description | |------|-----------|-------------| | create_collection | name, projectId? | Create a new collection (auto-creates project if omitted) | | create_folder | parentId, name | Create a folder in a collection or folder | | create_request | parentId, name, method, url, headers?, body? | Create an HTTP request | | update_request | requestId, name?, method?, url?, headers?, body? | Update an existing request | | delete_request | requestId | Delete a request | | delete_folder | folderId | Delete a folder and its child requests | | create_environment | collectionId, name, data | Create a new environment | | update_environment | environmentId, data | Merge new variables into an environment |

Execute

| Tool | Parameters | Description | |------|-----------|-------------| | send_request | requestId, environmentId? | Execute an HTTP request and return the response |

Export

| Tool | Parameters | Description | |------|-----------|-------------| | export_collection | collectionId, filePath | Export a collection to Insomnia v5 YAML |

Examples

Once configured, you can ask your AI assistant things like:

  • "List my Insomnia projects and collections"
  • "Create a new collection called 'User API' with a GET request to /users"
  • "Send the login request and show me the response"
  • "Add an Authorization header to all requests in the Auth folder"
  • "Create a staging environment with base_url set to https://staging.example.com"
  • "Export my API collection to a YAML file"

Requirements

  • Node.js >= 18
  • Insomnia desktop app (the server reads from Insomnia's local database)

Note

Changes made through this MCP server write directly to Insomnia's local database files. Restart Insomnia to see the changes reflected in the UI.

License

ISC