Skip to content
PluginStats

@shogo-ai/sdk weekly downloads statistics

By shogo-ai · npm · MCP servers

Shogo Platform SDK - Zero-boilerplate auth and database for Shogo apps

View on npm Fresh · Nov 5, 2026

@shogo-ai/sdk has 31,396 recorded weekly downloads on npm, ranking #879 of 2,855 tracked listings.

Weekly downloads
31,396
Official API · Nov 3, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#879
Among tracked npm listings

About @shogo-ai/sdk

@shogo-ai/sdk

The Shogo client SDK — auth, typed database access, and the LLM gateway. Voice, email, agent-runtime, db adapters, and CLI helpers ship as separate @shogo-ai/* packages but remain importable via deprecated subpath shims here through v1.x. See MIGRATION.md.

Installation

npm install @shogo-ai/sdk
# or
bun add @shogo-ai/sdk

Package family

The SDK was split in v1.6 into focused packages. All seven release in lockstep on the sdk-v* tag:

PackageUse when
@shogo-ai/sdkBuilding a client (web / RN / Node consumer)
@shogo-ai/coreServer primitives — logger, OTEL, streaming, chat-message
@shogo-ai/agentBuilding an agent backend on pi-ai / pi-agent-core
@shogo-ai/dbPrisma adapter wiring (PG / SQLite / libSQL)
@shogo-ai/emailTransactional email (SES / SMTP / OCI)
@shogo-ai/voiceElevenLabs + Twilio voice infra + React/RN UI
@shogo-ai/cliDeploy / manifest / packager helpers

Old @shogo-ai/sdk/<subpath> imports keep working through back-compat re-export shims. New code should import from the corresponding package directly. See MIGRATION.md for the full subpath → package map.

Quick Start

import { createClient } from '@shogo-ai/sdk'

const client = createClient({
  apiUrl: 'http://localhost:3000',
})

// Authentication
await client.auth.signUp({ email: 'user@example.com', password: 'secret' })
await client.auth.signIn({ email: 'user@example.com', password: 'secret' })
const user = client.auth.currentUser()

// Database operations
const todos = await client.db.todos.list({ where: { completed: false } })
const todo = await client.db.todos.create({ title: 'Buy milk' })
await client.db.todos.update(todo.id, { completed: true })
await client.db.todos.delete(todo.id)

Features

FeatureLives in
Authentication — email/password with Better Auth@shogo-ai/sdk (client.auth)
Database client — MongoDB-style CRUD with client.db.<resource>@shogo-ai/sdk (client.db)
LLM Gateway — drop-in Vercel AI SDK provider@shogo-ai/sdk (client.llm)
Machines & external triggers — pair desktops + VPS workers, pin projects for webhooks@shogo-ai/sdk (client.machines)
Project clone / sync — pull a project's workspace cloud→local, push edits back@shogo-ai/sdk (client.projects)
Memory — SQLite FTS5 + TF-IDF over per-user markdown@shogo-ai/sdk/memory
Voice — ElevenLabs convai proxy + React hooks@shogo-ai/voice (also as @shogo-ai/sdk/voice/*)
Email — SMTP / SES / OCI providers + templates@shogo-ai/email (also as @shogo-ai/sdk/email/server)
Prisma adapters — PG / SQLite / libSQL auto-detection@shogo-ai/db (also as @shogo-ai/sdk/db)
Agent runtime — runAgentLoop, model router, hooks@shogo-ai/agent (also as @shogo-ai/sdk/agent-loop etc.)
TypeScriptFull type safety with generics
Cross-PlatformBrowsers, Node, Bun, React Native

The right column tells you where the implementation lives in v1.6+; either path works at the import site.

API Reference

Client Setup
import { createClient } from '@shogo-ai/sdk'

const client = createClient({
  apiUrl: 'http://localhost:3000',  // Your app backend URL
  auth: {
    mode: 'headless',                // 'managed' or 'headless'
    authPath: '/api/auth',           // Auth endpoint path (default)
  },
})
Authentication
// Sign up
const user = await client.auth.signUp({
  email: 'user@example.com',
  password: 'secret',
  name: 'Jane Doe',  // optional
})

// Sign in
const user = await client.auth.signIn({
  email: 'user@example.com',
  password: 'secret',
})

// Get current user (sync)
const user = client.auth.currentUser()

// Get session (async)
const session = await client.auth.getSession()

// Sign out
await client.auth.signOut()

// Listen to auth state changes
const unsubscribe = client.auth.onAuthStateChanged((state) => {
  console.log('Auth state:', state.isAuthenticated, state.user)
})
Database Operations
// List with filtering
const todos = await client.db.todos.list({
  where: { status: 'active' },
  orderBy: { createdAt: 'desc' },
  take: 20,
  skip: 0,
})

// List with query parameters (sent as URL query params)
// Example: GET /api/v2/projects?workspaceId=abc123&status=active
const projects = await client.db.projects.list({
  where: { workspaceId: 'abc123', status: 'active' },
  limit: 20,
})

// You can also use the params option for additional query parameters
const filtered = await client.db.items.list({
  where: { category: 'electronics' },
  params: { sortBy: 'price', order: 'asc' },
})

// Get by ID
const todo = await client.db.todos.get('todo-123')

// Create
const newTodo = await client.db.todos.create({
  title: 'Buy milk',
  completed: false,
})

// Update
await client.db.todos.update('todo-123', {
  completed: true,
})

// Delete
await client.db.todos.delete('todo-123')

// Count
const count = await client.db.todos.count({
  where: { completed: true },
})
Query Operators
// Comparison operators
{ priority: { $gt: 5 } }     // Greater than
{ priority: { $gte: 5 } }    // Greater than or equal
{ priority: { $lt: 5 } }     // Less than
{ priority: { $lte: 5 } }    // Less than or equal
{ status: { $eq: 'active' } } // Equal
{ status: { $ne: 'done' } }   // Not equal

// Array operators
{ tags: { $in: ['urgent', 'important'] } }    // In array
{ tags: { $nin: ['archived'] } }              // Not in array

// Logical operators
{
  $and: [
    { status: 'active' },
    { priority: { $gte: 5 } },
  ]
}

{
  $or: [
    { priority: 10 },
    { status: 'urgent' },
  ]
}
React Integration…

Description from the npm listing.

  • shogo
  • sdk
  • typescript
  • auth
  • database
  • email
  • smtp
  • ses
  • mcp
  • memory
  • elevenlabs
  • voice
  • tts
  • convai
  • rag

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@shogo-ai/sdk weekly downloads on npm, last 90 days: 31,396 weekly downloads as of Nov 3, 2026.@shogo-ai/sdkWeekly downloads on npm · Last 90 days31,396downloads / week28K29K30K31K32K33K34K35KAug 5Aug 20Sep 4Sep 19Oct 4Oct 19Nov 3downloads / weekNov 3, 2026 – Nov 3, 2026 · 1 observations · Updated Nov 3, 2026pluginstats.com
@shogo-ai/sdk weekly downloads on npm, last 90 days: 31,396 weekly downloads as of Nov 3, 2026.

7/30/90-day growth

@shogo-ai/sdk weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@shogo-ai/sdkWeekly downloads growth on npm31,396downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Nov 3, 2026pluginstats.com
@shogo-ai/sdk weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@shogo-ai/sdk npm ranking history: currently #879 (by weekly downloads).@shogo-ai/sdknpm ranking · by weekly downloads · Last 90 days#879current rank#877#878#879#880#881Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21Nov 5rankNov 5, 2026 – Nov 5, 2026 · 1 observations · Updated Nov 3, 2026pluginstats.com
@shogo-ai/sdk npm ranking history: currently #879 (by weekly downloads).

Listing placement

All npm2,853 listings · 143 pages · 1,427 shown · page 45, #7 (overall #887)
All npm: every listing in weekly downloads order

Listing placement

MCP servers401 listings · 21 pages · page 8, #2 (overall #142)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for @shogo-ai/sdk
Date (UTC)Weekly downloadsChange vs. previous
31,396—

Similar npm MCP servers plugins

All 20 @shogo-ai/sdk alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@shogo-ai/sdk. First seen Nov 5, 2026; last successful collection Nov 5, 2026. See the methodology.