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

ocean-io-cli

v0.1.2

Published

CLI and MCP server for the Ocean.io data enrichment platform

Readme

ocean-cli

CLI and MCP server for the Ocean.io data enrichment platform.

Installation

npm install -g ocean-io-cli

Authentication

# Interactive login
ocean login

# Or use environment variable
export OCEAN_API_TOKEN=your-token-here

# Or pass inline
ocean credits balance --api-token your-token-here

Config is stored at ~/.ocean/config.json.

Usage

Credits

ocean credits balance

Data Fields

ocean data-fields list

Search

ocean search companies --domains "acme.com,example.com"
ocean search companies --filters '{"industry":["Technology"]}' --limit 50
ocean search people --domains "acme.com" --filters '{"jobTitle":["CEO"]}'
ocean search companies-v2 --filters '{"industry":["SaaS"]}'  # deprecated
ocean search people-v2 --filters '{"jobTitle":["VP"]}'        # deprecated

Enrich

ocean enrich company --domain acme.com
ocean enrich companies --domains "acme.com,example.com"
ocean enrich person --linkedin-url "https://linkedin.com/in/johndoe"
ocean enrich person --ocean-id "abc123"
ocean enrich people --linkedin-urls "https://linkedin.com/in/johndoe,https://linkedin.com/in/janedoe"
ocean enrich people --ocean-ids "abc123,def456"

Lookup

ocean lookup companies --domains "acme.com,example.com"
ocean lookup people --linkedin-handles "johndoe,janedoe"
ocean lookup people --ocean-ids "abc123,def456"

Reveal

ocean reveal emails --ocean-ids "abc123,def456"
ocean reveal phones --ocean-ids "abc123,def456"

Warmup

ocean warmup companies --domains "acme.com,example.com"

Autocomplete

ocean autocomplete companies --query "Acme"
ocean autocomplete keywords --query "saas"
ocean autocomplete job-titles --query "engineer"
ocean autocomplete locations --query "San Francisco"
ocean autocomplete skills --query "python"

Output Options

# Pretty-print JSON
ocean credits balance --pretty

# Select specific fields
ocean search companies --domains "acme.com" --fields "name,domain"

# Quiet mode (exit code only)
ocean credits balance --quiet

MCP Server

Use ocean-cli as an MCP server for AI assistants:

ocean mcp

MCP Configuration

Add to your Claude Desktop / Cursor / VS Code MCP config:

{
  "mcpServers": {
    "ocean": {
      "command": "npx",
      "args": ["ocean-cli", "mcp"],
      "env": {
        "OCEAN_API_TOKEN": "your-api-token"
      }
    }
  }
}

API Endpoints

| Command | Method | Endpoint | |---------|--------|----------| | credits balance | GET | /v2/credits/balance | | data-fields list | GET | /v2/data-fields | | search companies | POST | /v3/search/companies | | search companies-v2 | POST | /v2/search/companies | | search people | POST | /v3/search/people | | search people-v2 | POST | /v2/search/people | | enrich company | POST | /v2/enrich/company | | enrich companies | POST | /v2/enrich/companies | | enrich person | POST | /v2/enrich/person | | enrich people | POST | /v2/enrich/people | | lookup companies | POST | /v2/lookup/companies | | lookup people | POST | /v2/lookup/people | | reveal emails | POST | /v2/reveal/emails | | reveal phones | POST | /v2/reveal/phones | | warmup companies | POST | /v2/warmup/companies | | autocomplete companies | POST | /v2/autocomplete/companies | | autocomplete keywords | POST | /v2/autocomplete/keywords | | autocomplete job-titles | POST | /v2/autocomplete/job-titles | | autocomplete locations | POST | /v2/autocomplete/locations | | autocomplete skills | POST | /v2/autocomplete/skills |

License

MIT