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

orbitalmcp-cli

v1.0.4

Published

CLI tool for syncing codebases with OrbitalMCP

Downloads

512

Readme

OrbitalMCP CLI

Command-line tool for syncing your codebase with OrbitalMCP - the headless RAG service for AI agents.

Installation

npm install -g orbitalmcp-cli

Or use npx:

npx orbitalmcp-cli init

Quick Start

1. Initialize in your project

cd your-project
orbitalmcp init

This will:

  • Ask for your API key (get one from https://www.orbitalmcp.com/dashboard)
  • Let you select or create a project
  • Create a .orbitalmcp.json configuration file

2. Sync your codebase

orbitalmcp sync

This uploads your code files to OrbitalMCP, where they're chunked and embedded for semantic search.

3. Query your knowledge base

orbitalmcp query "How does authentication work?"

Commands

orbitalmcp init

Initialize OrbitalMCP in the current directory.

orbitalmcp init [options]

Options:
  -k, --api-key <key>   Your OrbitalMCP API key
  -p, --project <id>    Project ID to sync with
  -u, --url <url>       API URL (default: https://www.orbitalmcp.com)

orbitalmcp sync

Sync your codebase with OrbitalMCP.

orbitalmcp sync [options]

Options:
  -c, --clear     Clear existing documents before syncing
  -d, --dry-run   Show what would be synced without uploading

orbitalmcp query <question>

Query your project's knowledge base.

orbitalmcp query "your question" [options]

Options:
  -l, --limit <number>  Maximum results (default: 5)

orbitalmcp projects

List and manage your projects.

orbitalmcp projects [options]

Options:
  -c, --create <name>  Create a new project
  -d, --delete <id>    Delete a project

Configuration

The .orbitalmcp.json file stores your configuration:

{
  "apiKey": "orbital_xxx...",
  "projectId": "uuid-of-your-project",
  "apiUrl": "https://www.orbitalmcp.com",
  "include": [
    "**/*.ts",
    "**/*.tsx",
    "**/*.js",
    "**/*.jsx",
    "**/*.py",
    "**/*.md"
  ],
  "exclude": [
    "**/node_modules/**",
    "**/dist/**",
    "**/.git/**"
  ]
}

Include/Exclude Patterns

  • include: Glob patterns for files to sync (default: common code files)
  • exclude: Glob patterns for files to ignore (default: node_modules, dist, .git, etc.)

The CLI also respects your .gitignore file.

Security

⚠️ Important: Add .orbitalmcp.json to your .gitignore as it contains your API key.

echo ".orbitalmcp.json" >> .gitignore

Examples

Sync a TypeScript project

cd my-typescript-app
orbitalmcp init
orbitalmcp sync

Query with more results

orbitalmcp query "How do I handle errors?" --limit 10

Create a new project

orbitalmcp projects --create "My New Project"

Clear and re-sync

orbitalmcp sync --clear

Preview what would be synced

orbitalmcp sync --dry-run

Using with AI Agents

Once your codebase is synced, AI agents can query it via:

  1. REST API: POST /v1/projects/{projectId}/query
  2. MCP Protocol: Connect via SSE at /sse?project={projectId}

See the OrbitalMCP documentation for more details.