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

@hasna/contacts

v0.6.8

Published

Contact management for AI coding agents — CLI + MCP + Web

Downloads

2,974

Readme

@hasna/contacts

Contact management for AI coding agents — CLI + MCP server + Web dashboard

A modern rolodex for AI agents and humans. Store contacts, companies, tags, relationships, social profiles, and more.

Features

  • MCP server — 24 tools for AI agents (Claude, Codex, Gemini)
  • CLI — beautiful terminal interface
  • Web dashboard — React/Vite UI
  • Rich data model — contacts, companies, tags, relationships, emails, phones, addresses, social profiles
  • Import/Export — CSV, vCard (.vcf), JSON
  • Full-text search — FTS5-powered search
  • SQLite — zero-config, file-based storage at ~/.contacts/contacts.db

Install

bun install -g @hasna/contacts
# or
npm install -g @hasna/contacts

CLI Usage

contacts add                    # Add a contact interactively
contacts list                   # List all contacts
contacts list --tag vip         # Filter by tag
contacts show <id>              # Show contact details
contacts search "John"          # Search contacts
contacts edit <id>              # Edit a contact
contacts delete <id>            # Delete a contact
contacts import contacts.csv    # Import from CSV/vCard/JSON
contacts export --format vcf    # Export as vCard
contacts companies              # List companies
contacts tags                   # Manage tags
contacts serve                  # Start web dashboard
contacts mcp                    # Show MCP setup

MCP Setup

Add to your Claude Code config:

claude mcp add --transport stdio --scope user contacts -- contacts-mcp

Or add to ~/.claude.json:

{
  "mcpServers": {
    "contacts": {
      "command": "contacts-mcp",
      "args": []
    }
  }
}

MCP Tools

| Tool | Description | |------|-------------| | create_contact | Create a new contact | | get_contact | Get contact by ID | | update_contact | Update contact fields | | delete_contact | Delete a contact | | list_contacts | List contacts with filters | | search_contacts | Full-text search | | create_company | Create a company | | get_company | Get company by ID | | list_companies | List companies | | search_companies | Search companies | | create_tag | Create a tag | | list_tags | List all tags | | add_tag_to_contact | Tag a contact | | add_relationship | Link contacts | | merge_contacts | Merge duplicate contacts | | import_contacts | Import CSV/vCard/JSON | | export_contacts | Export contacts | | get_stats | Get database stats |

Environment

| Variable | Default | Description | |----------|---------|-------------| | CONTACTS_DB_PATH | ~/.contacts/contacts.db | SQLite database path |

License

Apache-2.0 © Andrei Hasna