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

rest-to-mcp

v0.0.3

Published

A bridge that enables any LLM to access and interact with documented REST APIs through the Model Context Protocol (MCP).

Downloads

10

Readme

rest-to-mcp

A bridge that enables any LLM to access and interact with documented REST APIs through the Model Context Protocol (MCP).

Overview

rest-to-mcp provides a seamless adapter layer that allows language models to:

  1. Discover available endpoints from REST APIs that publish OpenAPI/Swagger documentation
  2. Make direct HTTP requests to these endpoints

This enables LLMs to interact with external REST services without requiring custom integration code for each API.

How It Works

This project implements an MCP server with two primary tools:

1. discover-endpoints

Automatically locates API documentation by probing common paths where OpenAPI/Swagger specs are typically published:

  • /openapi.json
  • /swagger.json
  • /swagger/v1/swagger.json
  • /api-docs
  • /api-docs.json

2. make-request

Allows direct HTTP interactions with any REST endpoint:

  • Supports GET, POST, PUT, DELETE methods
  • Handles JSON request and response bodies
  • Returns formatted JSON responses to the LLM

Developing

deno install

Start the MCP server:

deno run dev

This launches the server using the MCP Inspector for testing and debugging.

Integration

LLMs can connect to this server through the Model Context Protocol, enabling them to:

  1. First discover what endpoints are available on a REST API
  2. Make appropriate requests to those endpoints
  3. Process the JSON responses

License

Project licensed under the MIT License.

More information on the LICENSE file.