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

@ai-passport-core/cli

v0.3.1

Published

Portable user-owned identity layer for AI systems — CLI, core API, and MCP adapter

Readme

AI Passport

One identity. Every AI.

AI Passport is an open identity layer for AI systems. It allows users—not AI providers—to own, manage and securely share their AI identity across applications.

npm cli npm sdk license

Links: Spec site · CLI npm · SDK npm · GitHub · Manifesto · Cursor Setup


Quick start

npm install -g @ai-passport-core/cli
ai-passport init
ai-passport grant cursor --yes
ai-passport plugin run git --path . --yes
ai-passport export cursor

Without global install: npx @ai-passport-core/cli init

Demo

AI Passport — Cursor reads your coding profile via MCP

~21s — question, get_passport_context, and TypeScript/Node.js answer from your passport.


Mission

One identity. Every AI.

Supporting line: Your AI identity. Everywhere.

North star: A user should be recognized by any AI, with explicit permission, without having to start over.


What it does

| Feature | Description | |---------|-------------| | Local passport | Encrypted identity at ~/.ai-passport/ | | Permissions | Grant / revoke per AI consumer (Cursor, etc.) | | Git plugin | Detect languages, frameworks, project from repo | | MCP server | Cursor reads passport via ai-passport mcp serve | | Memory provider | Local vault + grant-scoped context (RFC 0007) | | Portable schema | Open passport.schema.json format |


Cursor integration

See docs/CURSOR_SETUP.md for the full setup and "wow moment" test.

MCP config (after global install):

{
  "mcpServers": {
    "ai-passport": {
      "command": "ai-passport",
      "args": ["mcp", "serve", "--consumer", "cursor"]
    }
  }
}

CLI commands

| Command | Description | |---------|-------------| | ai-passport init | Create encrypted passport | | ai-passport onboard [consumer] | First-time setup + MCP config | | ai-passport info | Passport ID, grants, schema version | | ai-passport grant <consumer> | Approve scoped access | | ai-passport authorize <client> | Sign in — issue short-lived token | | ai-passport token exchange <token> | Exchange token for context JSON | | ai-passport revoke <consumer> | Revoke all grants | | ai-passport export <consumer> | Filtered JSON context | | ai-passport plugin run git | Analyze repo → coding profile | | ai-passport memory init | Initialize local memory vault | | ai-passport memory status | Memory provider status | | ai-passport memory store <ns> <text> | Store a scoped memory record | | ai-passport memory query [consumer] | Query grant-scoped memory (CLI) | | ai-passport grant <consumer> --memory <ns> | Grant with memory namespaces | | ai-passport mcp serve | Start MCP server (stdio) |


Programmatic API

SDK (recommended):

import { Passport } from '@ai-passport-core/cli/sdk';

const passport = await Passport.load();
const info = await passport.info();
const context = await passport.export('cursor');

See SDK.md for the full API.

Low-level:

import { PassportManager } from '@ai-passport-core/cli';

const manager = new PassportManager();
const info = await manager.info();
const context = await manager.export('cursor');

Documentation


Demo (20–30 sec GIF)

.\scripts\demo.ps1

See docs/DEMO.md · Record a new GIF with the AI answer on screen (~25s).


Development

git clone https://github.com/Mendocan/ai-passport.git
cd ai-passport
npm install
npm run build
npm run passport -- init --from-example
npm test

Status

Phase 4 complete — Open spec index, compatibility checklist, RFC process.
Phase 5 complete — Sign in, cloud sync.
Phase 6 (memory) — RFC 0007 Accepted; CLI @0.3.1 on npm (confidence decay, knowledge graph).


License

MIT — see LICENSE.