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

attio-agent-cli

v0.1.0

Published

Agent-native CLI + MCP server for the Attio CRM API. 76 commands across 14 groups, dual-mode: humans and AI agents.

Readme

attio-agent-cli

Agent-native CLI and MCP server for the Attio CRM API. 76 commands across 14 groups — works for humans in the terminal and AI agents via MCP.

npm install -g attio-agent-cli

Features

  • 76 commands covering the full Attio v2 API
  • Dual mode — same commands work as CLI (attio people list) and MCP tools (people_list)
  • Assert/Upsert — idempotent create-or-update for People, Companies, Deals, and any custom object
  • JSON-first output — compact by default, --pretty for humans, --fields for specific paths
  • 3-tier auth — flag → env var → config file
  • Auto-retry — exponential backoff on 429 rate limits and 5xx errors

Authentication

# Option 1: Environment variable (recommended for agents)
export ATTIO_API_KEY=your_key_here

# Option 2: Login (stores to ~/.attio-agent-cli/config.json)
attio login --api-key your_key_here

# Verify
attio status

Generate API keys in Attio: Settings → Developers → API Keys

MCP Server (AI Agents)

{
  "mcpServers": {
    "attio": {
      "command": "npx",
      "args": ["attio-agent-cli", "mcp"],
      "env": {
        "ATTIO_API_KEY": "your_key_here"
      }
    }
  }
}

Command Overview

| Group | Commands | Key Attio Concept | |-------|----------|-------------------| | people | list, get, create, update, delete, assert, entries, attribute-values | Upsert by email | | companies | list, get, create, update, delete, assert, entries, attribute-values | Upsert by domain | | deals | list, get, create, update, delete, assert, entries | Upsert by name | | records | list, get, create, update, delete, assert, search, attribute-values | Generic — any object | | lists | list, get, create, update, delete | Pipelines/views | | entries | list, get, create, update, delete, assert, attribute-values | Records in lists | | notes | list, get, create, update, delete | Activity logging | | tasks | list, get, create, update, delete | Task management | | objects | list, get, create, update | Schema management | | attributes | list, get, create, update | 19 attribute types | | webhooks | list, get, create, update, delete | 27 event types | | workspace | members | Team roster | | threads | get, resolve, comments, comment-create | Comments | | meetings | list, get, create | Call logging (beta) |

Usage Examples

# List people
attio people list --pretty

# Upsert person by email (idempotent — preferred over create)
attio people assert \
  --matching-attribute email_addresses \
  --email [email protected] \
  --first-name John --last-name Doe \
  --job-title "VP Sales"

# Upsert company by domain
attio companies assert \
  --matching-attribute domains \
  --domain acme.com \
  --name "Acme Corp" \
  --industry SaaS

# Create a deal
attio deals create \
  --name "Acme — Enterprise" \
  --stage "Qualification" \
  --value '{"currency_value":50000,"currency_code":"USD"}'

# Log a note on a record
attio notes create \
  --parent-object companies \
  --parent-record-id <company_id> \
  --title "Discovery Call" \
  --content "Budget confirmed. Timeline Q2." \
  --format markdown

# Create a task
attio tasks create \
  --content "Send proposal" \
  --deadline 2026-04-15T17:00:00Z \
  --linked-records '[{"target_object":"deals","target_record_id":"<deal_id>"}]'

# Filter records
attio people list \
  --filter '{"filter":{"job_title":{"$contains":"VP"}}}' \
  --limit 100

# Schema exploration
attio objects list --pretty
attio attributes list --object companies --pretty
attio workspace members --pretty

# Webhooks
attio webhooks create \
  --target-url https://your-app.com/attio \
  --events record.created,record.updated,note.created

# Generic records (custom objects)
attio records list --object my-custom-object
attio records assert --object projects \
  --matching-attribute name \
  --values '{"name":"Q2 Launch","status":"active"}'

Output Options

attio people list              # compact JSON (default)
attio people list --pretty     # pretty-printed JSON
attio people list --quiet      # no output (check exit code)
attio people list --fields data.id,data.values.email_addresses  # field filter

Links

License

MIT