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

@wyattjoh/caldav-mcp

v0.2.1

Published

MCP server exposing a CalDAV calendar (Fastmail-tested) over stdio and HTTP with OAuth 2.1

Downloads

521

Readme

@wyattjoh/caldav-mcp

MCP server exposing a CalDAV calendar (Fastmail-tested) over stdio and HTTP. The HTTP transport is a self-hosted OAuth 2.1 authorization server usable as a Claude.ai custom connector.

Tools

| Tool | Purpose | | ----------------------- | --------------------------------------------- | | caldav_list_calendars | Discover calendars and their urls. | | caldav_search_events | Fetch events in an ISO 8601 range. | | caldav_get_event | Fetch a single event including raw iCalendar. | | caldav_create_event | Create a VEVENT. | | caldav_update_event | Update an event with ETag-based concurrency. | | caldav_delete_event | Delete an event. | | caldav_query_freebusy | Busy intervals across calendars. |

Stdio install

npm install -g @wyattjoh/caldav-mcp

.mcp.json:

{
  "mcpServers": {
    "caldav": {
      "command": "op",
      "args": ["run", "--", "caldav-mcp"],
      "env": {
        "CALDAV_SERVER_URL": "https://caldav.fastmail.com/",
        "CALDAV_USERNAME": "op://Personal/Fastmail CalDAV/username",
        "CALDAV_APP_PASSWORD": "op://Personal/Fastmail CalDAV/password"
      }
    }
  }
}

HTTP (Claude.ai custom connector)

Run the Docker image with /data mounted:

docker run -d \
  -p 3000:3000 \
  -v caldav-mcp-data:/data \
  -e CALDAV_MCP_PUBLIC_URL=https://caldav-mcp.example.com \
  -e CALDAV_MCP_ENCRYPTION_KEY="$(openssl rand -base64 32)" \
  -e CALDAV_MCP_ALLOWED_USERNAMES="[email protected]" \
  ghcr.io/wyattjoh/caldav-mcp:latest

CALDAV_MCP_ALLOWED_USERNAMES is required: a comma-separated list of CalDAV usernames permitted to log in. Anyone not on this list is rejected at /authorize, and existing tokens are revoked on next use if their account is removed from the list. Matching is case-insensitive and whitespace-tolerant.

Add it as a custom connector in Claude.ai with Remote MCP server URL set to the public URL. Leave OAuth Client ID blank to use Dynamic Client Registration.

Environment variables

See docs/superpowers/specs/2026-04-17-caldav-mcp-design.md for the full reference.

Development

bun install
bun run start            # stdio
bun run start:http       # http on 3000
bun run check            # lint + fmt + typecheck
bun test

License

MIT