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

rivian-mcp

v1.3.3

Published

Read-only MCP server for the Rivian API — vehicle state, OTA status, charging, and more

Readme

Rivian MCP

Read-only MCP server and CLI for Rivian's undocumented GraphQL API. Check your vehicle's battery, range, OTA updates, charging status, and more — right from Claude or your terminal.

Strictly read-only — no vehicle commands, no settings changes.

Setup

claude mcp add rivian \
  -e [email protected] \
  -e RIVIAN_PASSWORD=your-password \
  -- npx rivian-mcp

Add to ~/.claude.json or your project's .mcp.json:

{
  "mcpServers": {
    "rivian": {
      "command": "npx",
      "args": ["rivian-mcp"],
      "env": {
        "RIVIAN_EMAIL": "[email protected]",
        "RIVIAN_PASSWORD": "your-password"
      }
    }
  }
}

First-time login

Rivian requires 2FA on every new login:

  1. Ask Claude: "Log in to Rivian"
  2. Rivian sends a verification code to your phone/email
  3. Tell Claude the code: "The code is 123456"

Your session is saved to ~/.rivian-mcp/session.json and reused automatically until it expires (7 days).

What you can ask

  • "What's my battery level?"
  • "Is there a software update available?"
  • "Are all the doors locked?"
  • "Show me the full vehicle status"
  • "Who has keys to my R1S?"
  • "Am I currently charging?"
  • "Show my charging history"
  • "What's my charging schedule?"

Tools

| Tool | What it does | | ------------------------------ | ----------------------------------------------------------- | | rivian_login | Start sign-in (triggers verification code) | | rivian_submit_otp | Complete sign-in with the verification code | | rivian_get_user_info | Your account, vehicles, and software versions | | rivian_get_vehicle_state | Live status — battery, doors, tires, location, climate, OTA | | rivian_get_ota_status | Current and available software versions | | rivian_get_charging_session | Active charging session details | | rivian_get_charging_history | Past charging sessions — energy, cost, location | | rivian_get_charging_schedule | Your configured charging schedule | | rivian_get_drivers_and_keys | Drivers and their phone keys / key fobs |

CLI

The package also installs a rivian CLI for quick terminal access without Claude.

npx rivian-mcp ota    # OTA software update status
npx rivian-mcp stats  # Full vehicle state

Or install globally:

npm install -g rivian-mcp
rivian ota
rivian stats

Authentication works the same way — credentials from RIVIAN_EMAIL/RIVIAN_PASSWORD env vars or interactive prompts. Session is shared with the MCP server (~/.rivian-mcp/session.json).

Requirements

  • Node.js 24+
  • A Rivian account with a vehicle

Support

If you're thinking about getting a Rivian and don't have a referral yet, here's mine — you'll get benefits on your purchase and it helps support this project:

Get a Rivian R1 with referral benefits

References