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

@openpets/cb-insights

v1.0.2

Published

Access CB Insights API for private market intelligence including company profiles, funding data, Mosaic scores, and more

Readme

CB Insights

Access CB Insights API for private market intelligence including company profiles, funding data, Mosaic scores, and more.

Quick Start

1. Get API Credentials

Contact CB Insights to get API access. You'll receive:

  • clientId - Your client identifier
  • clientSecret - Your client secret

2. Configure Environment

Create a .env file in the pet directory or set environment variables:

CB_INSIGHTS_CLIENT_ID=your_client_id_here
CB_INSIGHTS_CLIENT_SECRET=your_client_secret_here

3. Test Connection

opencode run "test CB Insights connection"

Available Tools

Core Tools (Always Available)

| Tool | Description | |------|-------------| | cb-insights-status | Check plugin configuration status | | cb-insights-test-connection | Test API connection and authentication |

Organization Search (FREE - No Credits)

| Tool | Description | |------|-------------| | cb-insights-search-organizations | Search for organizations by name, URL, or profile |

Company Data (Charges Credits)

| Tool | Description | |------|-------------| | cb-insights-get-firmographics | Get detailed company profiles including Mosaic scores | | cb-insights-get-fundings | Get funding rounds for multiple organizations | | cb-insights-get-investments | Get investment rounds for investors | | cb-insights-get-portfolio-exits | Get portfolio exit data | | cb-insights-get-business-relationships | Get business partnerships and relationships | | cb-insights-get-management-board | Get leadership team and board members | | cb-insights-get-outlook | Get commercial maturity and exit probability |

Single Organization Tools (Charges Credits)

| Tool | Description | |------|-------------| | cb-insights-get-org-fundings | Get funding for a single org | | cb-insights-get-org-investments | Get investments for a single org | | cb-insights-get-org-portfolio-exits | Get portfolio exits for a single org | | cb-insights-get-org-business-relationships | Get relationships for a single org | | cb-insights-get-org-management-board | Get leadership for a single org | | cb-insights-get-org-outlook | Get outlook for a single org | | cb-insights-get-mosaic-history | Get Mosaic score history over time | | cb-insights-get-commercial-maturity-history | Get commercial maturity history | | cb-insights-get-exit-probability-history | Get exit probability history | | cb-insights-get-scouting-report | Generate a Scouting Report |

AI Tools (Beta)

| Tool | Description | |------|-------------| | cb-insights-chat | Chat with ChatCBI AI assistant |

Example Usage

Search for Companies (Free)

opencode run "search for companies named OpenAI using CB Insights"

Get Company Details

opencode run "get firmographics for CB Insights organization ID 12345"

Research Workflow

# First, search for the company (free)
opencode run "search for companies named Stripe"

# Then get detailed data (uses credits)
opencode run "get firmographics for organization ID from previous search"

API Credits

CB Insights API uses a credit system:

| Endpoint | Cost | |----------|------| | Organizations Search | FREE | | Firmographics | Credits | | Financial Transactions | Credits | | Business Relationships | Credits | | Management and Board | Credits | | Outlook | Credits | | Scouting Reports | Credits | | ChatCBI | Credits |

Use the free search-organizations endpoint to find organization IDs before spending credits on detailed data.

Read-Only Mode

Enable read-only mode to prevent accidental API calls:

pets read-only cb-insights on

FAQ

How do I get CB Insights API credentials?

Contact CB Insights to get API access. You'll receive a clientId and clientSecret for authentication.

What data is available through this plugin?

Company profiles, firmographics, funding rounds, investments, business relationships, management teams, Mosaic scores, and more.

Does the API charge credits?

The /v2/organizations endpoint is free (no credits). Other endpoints like firmographics, fundings, etc. charge credits per request.

What is a Mosaic score?

Mosaic is CB Insights' proprietary scoring system that evaluates private companies based on momentum, market, money, and management factors.