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

alternativespe-mcp

v0.1.1

Published

MCP server for the Alternatives Partner API v3 (altdmp.io) — private-market data across Southeast Asia

Readme

alternativespe-mcp

An MCP server for the Alternatives Partner API v3 (altdmp.io) — read-only programmatic access to private-market data across Southeast Asia (funded companies, investors, funds, people, service providers).

Features

  • Handles the API-key → bearer-token exchange automatically, with token caching/refresh.
  • Exposes each list endpoint with the full POST filter tree (all/any/not + operators), plus search, ordering, limit, offset.
  • Detail-by-UUID tools for every core entity.

Tools

| Tool | Endpoint | Description | |------|----------|-------------| | search_capital_receivers | POST /capital-receivers/ | Funded companies / startups | | get_capital_receiver | GET /capital-receivers/{uuid}/ | Company detail: financials, cap table, investors, deals, news | | search_capital_allocators | POST /capital-allocators/ | Investors (VC/PE, corporates, family offices) | | get_capital_allocator | GET /capital-allocators/{uuid}/ | Investor detail: investments, AUM, commitments, funds, news | | search_funds | POST /funds/ | Funds (Atlas tier) | | get_fund | GET /funds/{uuid}/ | Fund detail: performance, AUM, commitments, investments | | search_people | POST /people/ | Founders, directors, executives | | get_person | GET /people/{uuid}/ | Person detail: roles, investments, news | | search_service_providers | POST /service-providers/ | Auditors, legal & professional services | | search_investors | POST /investors/ | Cross-entity investor discovery | | get_reference_data | GET /reference-data/ | Enums, countries, industries, themes |

Setup

npm install
npm run build

Set your API key (obtain credentials from [email protected]):

export ALTDMP_API_KEY=your_api_key_here

Usage with Claude Desktop / Claude Code

Add to your MCP config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "alternativespe": {
      "command": "node",
      "args": ["/absolute/path/to/alternativespe-mcp/dist/index.js"],
      "env": {
        "ALTDMP_API_KEY": "your_api_key_here"
      }
    }
  }
}

Or, for local development without building:

{
  "mcpServers": {
    "alternativespe": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/alternativespe-mcp/src/index.ts"],
      "env": { "ALTDMP_API_KEY": "your_api_key_here" }
    }
  }
}

Filtering

filters is forwarded verbatim as the API's filters body. Combine logical groups with conditions:

{
  "filters": {
    "all": [
      { "op": "eq", "field": "domicile_country_iso_alpha3", "value": "SGP" },
      { "op": "gte", "field": "latest_valuation_usd", "value": 50000000 },
      { "any": [
        { "op": "eq", "field": "is_raising_now", "value": true },
        { "op": "in", "field": "themes_keys", "value": ["themes_payments"] }
      ]}
    ]
  },
  "limit": 50,
  "ordering": "-latest_valuation_usd"
}

Operators: eq, in (array), gt, gte, lt, lte, range (2-element array), contains, isnull. Logical groups: all (AND), any (OR), not (negate).

Use get_reference_data to discover valid field enum values.

Notes

  • Rate limit: 320 requests / rolling 60-second window (enforced by the API).
  • Subscription tiers: Atlas (all endpoints) and Allocate (excludes funds and allocator commitments).
  • Tokens are valid for 24 hours; this server refreshes them automatically.

Environment variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | ALTDMP_API_KEY | yes | — | Your Alternatives Partner API key | | ALTDMP_BASE_URL | no | https://api.altdmp.io/v3 | API base URL override |

Publishing

Both npm and the MCP Registry publish via OIDC — no long-lived tokens are stored in this repo.

npm (Trusted Publishing / OIDC)

Automated publishing uses npm Trusted Publishing: GitHub Actions authenticates to npm over short-lived OIDC and provenance is generated automatically — no NPM_TOKEN.

One-time setup on npmjs.com (after the first version exists — see bootstrapping below): package Settings → Trusted Publisher → GitHub Actions, set:

| Field | Value | |-------|-------| | Organization / user | luarss | | Repository | alternativespe-mcp | | Workflow filename | publish-mcp-registry.yml | | Environment | release |

Bootstrapping: a trusted publisher can only be configured once the package already exists, so the very first version must be published manually — npm publish --access public locally — then configure the trusted publisher for all subsequent releases.

MCP Registry

server.json is published to the official MCP Registry via the mcp-publisher CLI using GitHub OIDC (mcp-publisher login github-oidc) — also tokenless.

Automated release

Pushing a v* tag (e.g. git tag v0.1.0 && git push origin v0.1.0) triggers .github/workflows/publish-mcp-registry.yml. The job runs in the protected release GitHub environment (required reviewer + v*-tags-only), so a publish waits for manual approval, then publishes to npm (OIDC) and syncs server.json's version to the tag before publishing it to the registry (OIDC).

License

MIT