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

@realmikekelly/exa-cli

v1.0.7

Published

CLI for Exa AI search via GAP (Gated Agent Proxy). Provides web search, code search, deep search, URL crawling, LinkedIn search, company research, and deep research capabilities.

Readme

exa-cli

CLI for Exa AI search via GAP (Gated Agent Proxy).

By Mike Kelly.

Installation

npm install -g @realmikekelly/exa-cli

Prerequisites

  1. GAP installed and running - See GAP documentation
  2. Install the Exa plugin - mikekelly/exa-gap
  3. Set your Exa API key in GAP
  4. Create a GAP token for your agent

Configuration

Set your GAP token in a .env file in your working directory:

GAP_TOKEN=your-token-here

Or as an environment variable:

export GAP_TOKEN=your-token-here

The CLI checks .env first, then falls back to the environment variable.

Usage

Web Search

exa-cli search "your query"
exa-cli search "anthropic claude" -n 10 -t deep

Options:

  • -n, --num-results <number> - Number of results (default: 8)
  • -t, --type <type> - Search type: auto, fast, deep (default: auto)
  • -l, --livecrawl <mode> - Livecrawl mode: fallback, preferred (default: fallback)
  • -c, --context-max <chars> - Max characters for context (default: 10000)

Code Search

exa-cli code "react hooks typescript"
exa-cli code "express middleware authentication" -t 10000

Options:

  • -t, --tokens <number> - Number of tokens to return, 1000-50000 (default: 5000)

Deep Search

exa-cli deep-search "latest developments in AI safety"
exa-cli deep-search "climate change solutions" -q "renewable energy" "carbon capture"

Options:

  • -q, --queries <queries...> - Additional search queries

URL Crawling

exa-cli crawl "https://example.com/article"
exa-cli crawl "https://docs.example.com" -c 5000

Options:

  • -c, --max-chars <number> - Maximum characters to extract (default: 3000)

LinkedIn Search

exa-cli linkedin "software engineer san francisco"
exa-cli linkedin "CEO startup" -n 10

Options:

  • -n, --num-results <number> - Number of results (default: 5)

Company Research

exa-cli company "Anthropic"
exa-cli company "OpenAI" -n 10

Options:

  • -n, --num-results <number> - Number of results (default: 5)

Deep Research

Start a comprehensive AI research task:

exa-cli research start "implications of quantum computing on cryptography"
exa-cli research start "renewable energy adoption" -m exa-research-pro

Options:

  • -m, --model <model> - Model: exa-research or exa-research-pro (default: exa-research)

Check research status:

exa-cli research check <taskId>

License

MIT