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

@mixmediahk/motors-quote-mcp

v1.2.0

Published

MCP server for Motors Quote System API

Downloads

79

Readme

@mixmediahk/motors-quote-mcp

MCP server for motor insurance quoting workflows. Provides 13 tools covering the full quote lifecycle from vehicle lookup to premium retrieval and PDF download.

Requirements

  • Node.js >= 22

Quick Install

npm install -g @mixmediahk/motors-quote-mcp

Or use npx directly in MCP config (no global install needed).


AI Agent Configuration

OpenCode

1. Add MCP server to opencode.json (project root or ~/.config/opencode/):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "motors-quote": {
      "type": "local",
      "command": ["npx", "-y", "@mixmediahk/motors-quote-mcp"],
      "enabled": true,
      "environment": {
        "BASE_URL": "<your_api_base_url>",
        "TIMEOUT": "30000"
      }
    }
  }
}

2. Install the Skill:

# Project-local
mkdir -p .opencode/skills/motors-quote
cp node_modules/@mixmediahk/motors-quote-mcp/skills/SKILL.md .opencode/skills/motors-quote/

# Or globally
mkdir -p ~/.config/opencode/skills/motors-quote
cp node_modules/@mixmediahk/motors-quote-mcp/skills/SKILL.md ~/.config/opencode/skills/motors-quote/

Claude Code

1. Add MCP server to .mcp.json (project root):

{
  "mcpServers": {
    "motors-quote": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "@mixmediahk/motors-quote-mcp"],
      "env": {
        "BASE_URL": "<your_api_base_url>",
        "TIMEOUT": "30000"
      }
    }
  }
}

2. Install the Skill:

# Project-local (Claude-compatible path)
mkdir -p .claude/skills/motors-quote
cp node_modules/@mixmediahk/motors-quote-mcp/skills/SKILL.md .claude/skills/motors-quote/

# Or globally
mkdir -p ~/.claude/skills/motors-quote
cp node_modules/@mixmediahk/motors-quote-mcp/skills/SKILL.md ~/.claude/skills/motors-quote/

Codex

1. Add MCP server to .codex/mcp.json (project root):

{
  "mcpServers": {
    "motors-quote": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "@mixmediahk/motors-quote-mcp"],
      "env": {
        "BASE_URL": "<your_api_base_url>",
        "TIMEOUT": "30000"
      }
    }
  }
}

2. Install the Skill:

# Project-local (agent-compatible path)
mkdir -p .agents/skills/motors-quote
cp node_modules/@mixmediahk/motors-quote-mcp/skills/SKILL.md .agents/skills/motors-quote/

# Or globally
mkdir -p ~/.agents/skills/motors-quote
cp node_modules/@mixmediahk/motors-quote-mcp/skills/SKILL.md ~/.agents/skills/motors-quote/

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | BASE_URL | <your_api_base_url> | API base URL | | TIMEOUT | 30000 | HTTP timeout (ms) | | LOG_LEVEL | WARN | DEBUG / INFO / WARN / ERROR | | LOG_PATH | (none) | Log file path (optional, DEBUG mode logs full API request/response) | | DEFAULT_CLASS_ID | (env-specific) | Vehicle class ID (locked at runtime, caller cannot override) | | DEFAULT_COMPANY_ID | (env-specific) | Insurance company ID (locked at runtime, caller cannot override) | | URL_BUILDER_BASE_URL | <your_url_builder_api_url> | URL shortener API base URL | | URL_BUILDER_REFRESH_TOKEN | (none) | URL shortener refresh token. When set, save_quote auto-shortens down_view and sms_view links |


Available Tools

| Tool | Description | Required Params | |------|-------------|-----------------| | get_active_brands | List active car brands | None | | get_car_models | List models under a brand | brand_id | | get_model_years | List manufacturing years | brand_id | | get_models_by_year | Filter models by brand + year | brand_id, year | | get_model_cc | Get engine capacity | model_id, year, brand, model | | get_model_description | Get model details (redBook) | model_id, year, cc, brand, model | | get_car_type_body | Get vehicle body types | brand_id | | get_car_questions | Get special questions for quoting | None | | get_occupations | List driver occupations | None | | get_industries | List company industries | None | | get_ncd_options | List valid NCD rates | None | | get_quote | Get insurance quote (auto-chains internal APIs) | brand_id, model_id, year, cc, isrd_vl, ncd_rate | | save_quote | Save quote and get PDF download link | brand_id, model_id, year, cc, isrd_vl, ncd_rate, quote_type |


Skill

This package includes a skills/SKILL.md that provides the AI agent with a complete workflow guide for the quote process. The skill covers:

  • Dynamic question construction from get_car_questions() API
  • User interaction via question tool for selection-based UX
  • Full quote information review before submission
  • Error handling and edge cases

Install it to the appropriate skills directory for your AI agent client (see configuration above).


Development

yarn install
yarn bundle          # Build + add shebang + sync skill
node dist/index.cjs  # Start MCP server (stdio)

License

Private