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

@danielrosehill/google-contacts-mcp

v0.1.0

Published

Minimal MCP server for the Google People API — read-only contact search and lookup. Companion to Claude Code's schedule-manager plugin and any agent that needs to resolve names to email addresses.

Readme

Google-Contacts-MCP

Minimal MCP server for the Google People API — read-only contact search and lookup. Built as a companion to Claude Code's schedule-manager plugin and any agent that needs to resolve a person's name to an email address before adding them to a calendar event.

Why this exists

The official Google Workspace MCP covers Calendar, Docs, Sheets, Slides, Gmail, and Chat — but not Contacts. This is a thin, single-purpose server for that gap.

Tools

| Tool | Purpose | |---|---| | search_contacts(query, page_size?) | Search by name, email, phone, or organization | | get_contact(resource_name) | Fetch full details for one contact | | list_contacts(page_size?, page_token?) | Paginated full enumeration |

All operations are read-only. The OAuth scope requested is contacts.readonly.

Setup

1. Install

npm install -g @danielrosehill/google-contacts-mcp
# or run via npx without installing

2. OAuth credentials

Create an OAuth 2.0 Client ID (Desktop app type) at https://console.cloud.google.com/apis/credentials and enable the People API for your project.

Place the downloaded credentials JSON at:

~/.config/google-contacts-mcp/credentials.json

(Override with GOOGLE_CONTACTS_CREDENTIALS_PATH env var.)

3. Authorise

google-contacts-mcp auth

Follow the prompt: visit the URL, approve, paste the code back. Token is written to ~/.config/google-contacts-mcp/token.json (chmod 600).

4. Headless / env-var configuration (optional)

For deployment without a token file, set:

export GOOGLE_CONTACTS_CLIENT_ID=...
export GOOGLE_CONTACTS_CLIENT_SECRET=...
export GOOGLE_CONTACTS_REFRESH_TOKEN=...

The auth command prints these for you after a successful authorisation.

Wiring up to Claude Code

claude mcp add google-contacts -- npx -y @danielrosehill/google-contacts-mcp

If using env vars instead of a token file, pass them through:

claude mcp add google-contacts \
  -e GOOGLE_CONTACTS_CLIENT_ID=$GOOGLE_CONTACTS_CLIENT_ID \
  -e GOOGLE_CONTACTS_CLIENT_SECRET=$GOOGLE_CONTACTS_CLIENT_SECRET \
  -e GOOGLE_CONTACTS_REFRESH_TOKEN=$GOOGLE_CONTACTS_REFRESH_TOKEN \
  -- npx -y @danielrosehill/google-contacts-mcp

Development

git clone https://github.com/danielrosehill/Google-Contacts-MCP
cd Google-Contacts-MCP
npm install
npm run build
node dist/index.js  # smoke test (will block on stdin — that's expected for an MCP server)

License

MIT