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 🙏

© 2025 – Pkg Stats / Ryan Hefner

liteapi-mcp-server

v1.0.1

Published

MCP server for LiteAPI hotel booking services - compatible with n8n workflows

Readme

LiteAPI MCP Server

A Model Context Protocol (MCP) server that provides access to LiteAPI hotel booking services. This server can be used with AI assistants like Claude or integrated into n8n workflows for automation.

Features

  • Hotel Search: Find hotels by location, dates, and preferences
  • Booking Management: Create, modify, and cancel hotel bookings
  • Analytics: Access booking analytics and reports
  • Loyalty Programs: Manage loyalty points and rewards
  • Voucher System: Handle discount vouchers and promotions
  • Static Data: Access hotel, city, and country information

Installation

npm install -g liteapi-mcp-server

Configuration

Set your LiteAPI API key as an environment variable:

export LITEAPI_API_KEY="your_api_key_here"

Usage

As a Standalone MCP Server

liteapi-mcp-server

With MCP Inspector (Development)

npm run inspect

n8n Integration

This MCP server can be used with n8n workflows using existing MCP integration packages.

Option 1: Using @coleam/n8n-nodes-mcp

  1. Install the n8n MCP node:
npm install @coleam/n8n-nodes-mcp
  1. Configure your n8n workflow to connect to the MCP server:
    • Add the MCP node to your workflow
    • Set the server command to: liteapi-mcp-server
    • Set the working directory to where the package is installed
    • Configure environment variables for your API key

Option 2: Using @mseep/n8n-nodes-mcp

  1. Install the n8n MCP node:
npm install @mseep/n8n-nodes-mcp
  1. Follow the package documentation for configuration

n8n Workflow Example

{
  "nodes": [
    {
      "name": "MCP LiteAPI Search",
      "type": "@coleam/n8n-nodes-mcp.mcp",
      "parameters": {
        "serverCommand": "liteapi-mcp-server",
        "toolName": "search-hotels",
        "toolArguments": {
          "checkin": "2024-01-15",
          "checkout": "2024-01-20",
          "guests": 2,
          "rooms": 1,
          "location": "New York"
        }
      }
    }
  ]
}

Available Tools

The server provides tools for:

  • Hotel Search: search-hotels, search-hotels-by-geo
  • Booking: create-booking, get-booking, cancel-booking
  • Analytics: get-most-booked-hotels, get-booking-analytics
  • Loyalty: get-loyalty-program, redeem-loyalty-points
  • Vouchers: validate-voucher, apply-voucher
  • Static Data: get-countries, get-cities, get-hotels

Development

Run in Development Mode

npm run dev

Build

npm run build

Test with Inspector

npm run inspect

Claude Desktop Integration

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "liteapi": {
      "command": "liteapi-mcp-server",
      "env": {
        "LITEAPI_API_KEY": "your_api_key_here"
      }
    }
  }
}

API Key

Get your API key from LiteAPI. Set it as the LITEAPI_API_KEY environment variable or it will default to the sandbox key for testing.

License

MIT