Skip to content
PluginStats

agnost weekly downloads statistics

By agnostai · npm · MCP servers

Agnost AI SDK for MCP servers: sends tool calls, errors and latency to Agnost AI, which monitors AI agents in production.

View on npm Fresh · Dec 6, 2026

agnost has 47,552 recorded weekly downloads on npm, a decrease of 40.9% over the past 30 days, ranking #804 of 3,247 tracked listings.

Weekly downloads
47,552
Official API · Dec 5, 2026
7-day growth
-9.6%
-5K weekly downloads
30-day growth
-40.9%
-32.9K weekly downloads
90-day growth
+212%
+32.3K weekly downloads
Rank
#804
▼ 54 in 7 days

About agnost

Agnost AI SDK for MCP servers (TypeScript)

npm version License: MIT

Send your MCP server's tool calls, errors and latency to Agnost AI, which monitors AI agents in production: chat agents, voice agents, copilots and MCP servers.

Installation

npm install agnost @modelcontextprotocol/sdk

Requires Node.js 20 or newer and @modelcontextprotocol/sdk 1.x. Works with both McpServer and the low-level Server, over stdio or Streamable HTTP. Ships ES module and CommonJS builds with type definitions. For conversations outside MCP, use the agnostai conversation SDK.

Setup Example

import { trackMCP, createConfig } from 'agnost';
import { Server } from '@modelcontextprotocol/sdk/server/index.js';

// Create your MCP server instance
const server = new Server(
  {
    name: "my-server",
    version: "1.0.0"
  },
  {
    capabilities: {
      tools: {}
    }
  }
);

// Configure analytics
const config = createConfig({
  endpoint: "https://api.agnost.ai",
  disableInput: false,
  disableOutput: false
});

// Enable analytics tracking (instruments the server in place)
trackMCP(server, "your-project-id", config);

Tool-call events are sent on a background queue. Before the process exits, deliver anything still queued:

import { analytics } from 'agnost';

process.on('SIGTERM', async () => {
  await analytics.cleanup();
  process.exit(0);
});

Runnable stdio and Streamable HTTP servers are in examples/.

Configuration Example

import { trackMCP, createConfig } from 'agnost';

// Create a custom configuration
const config = createConfig({
  endpoint: "https://api.agnost.ai",
  disableInput: false,   // Set to true to disable input tracking
  disableOutput: false,  // Set to true to disable output tracking
  disableError: false,   // When disableOutput is true, errors are still recorded
                         // unless this is also set to true
  disableLogs: false     // Set to true to completely disable all SDK logs
});

// Apply the configuration
trackMCP(
  server,
  "your-project-id",
  config
);
Disabling All Logs

To completely disable all SDK logs (including error logs), you can use the disableLogs option:

import { trackMCP, createConfig } from 'agnost';

// Configuration with all logs disabled
const config = createConfig({
  endpoint: "https://api.agnost.ai",
  disableLogs: true  // This will disable ALL SDK logs
});

trackMCP(server, "your-project-id", config);

Alternatively, you can use environment variables:

# Disable all logs via environment variable
export AGNOST_DISABLE_LOGS=true

# Or control log level (debug, info, warning, error)
export AGNOST_LOG_LEVEL=error

To configure everything from the environment, use configureFromEnv(). It reads AGNOST_PROJECT_ID (required; it throws without it), AGNOST_ENDPOINT, AGNOST_DISABLE_INPUT, AGNOST_DISABLE_OUTPUT, AGNOST_DISABLE_ERROR and AGNOST_DISABLE_LOGS:

import { configureFromEnv, trackMCP } from 'agnost';

const { projectId, config } = configureFromEnv();
trackMCP(server, projectId, config);

User Identification

The SDK supports user identification to track analytics per user. This is especially useful for understanding usage patterns across different users and roles.

Basic User Identification
import { trackMCP, createConfig } from 'agnost';

// Enable user identification
trackMCP(server, 'your-project-id', {
  // .. other config like disableInput, disableOutput
  identify: (request, env) => ({
    userId: request?.headers?.['x-user-id'] || env?.USER_ID || 'anonymous',
    email: request?.headers?.['x-user-email'] || env?.USER_EMAIL,
    role: request?.headers?.['x-user-role'] || env?.USER_ROLE || 'user'
  })
});
Advanced User Identification
import { trackMCP, createConfig } from 'agnost';

// Complex identification logic with async operations
trackMCP(server, 'your-project-id', {
  identify: async (request, env) => {
    try {
      // Extract token from headers
      const token = request?.headers?.['authorization']?.replace('Bearer ', '');
      if (!token) {
        return { userId: 'anonymous' };
      }

      // You could validate token and fetch user info
      // const userInfo = await validateTokenAndGetUser(token);

      // Return user identity with custom fields
      return {
        userId: 'user-123',
        email: 'user@example.com',
        role: 'admin',
        organization: 'acme-corp',
        subscription: 'premium'
      };
    } catch (error) {
      console.warn('User identification failed:', error);
      return { userId: 'anonymous' };
    }
  }
});
User Identity Interface

The identify function should return a UserIdentity object or null:

interface UserIdentity {
  userId: string;        // Required: Unique user identifier
  [key: string]: any;   // Optional: Any additional user properties
}

type IdentifyFunction = (
  request?: any,                              // MCP request object with headers, params, etc.
  env?: Record<string, string | undefined>    // Environment variables (process.env)
) => UserIdentity | null | Promise<UserIdentity | null>;
Identify Function Parameters
  • request: The incoming MCP request object containing:

    • headers: HTTP-style headers (e.g., x-user-id, authorization)
    • params: Request parameters including tool name and arguments
    • Other request metadata from the MCP protocol
  • env: Environment variables from process.env, useful for:

    • Reading user info from environment variables
    • Accessing configuration secrets
    • Getting deployment-specific user context…

Description from the npm listing.

  • agnost
  • mcp
  • model-context-protocol
  • mcp-server
  • ai-agents
  • agent-monitoring
  • llm-observability
  • observability
  • opentelemetry
  • tool-calls

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

agnost weekly downloads on npm, last 90 days: 47,552 weekly downloads as of Dec 5, 2026, +212% over 90 days.agnostWeekly downloads on npm · Last 90 days47,552downloads / week+212% over 90 days050K100K150K200KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
agnost weekly downloads on npm, last 90 days: 47,552 weekly downloads as of Dec 5, 2026, +212% over 90 days.

7/30/90-day growth

agnost weekly downloads growth on npm: -9.6% over 7 days, -40.9% over 30 days, +212% over 90 days.agnostWeekly downloads growth on npm47,552downloads / week now7-day growth-5,044 weekly downloads-9.6%30-day growth-32,891 weekly downloads-40.9%90-day growth+32,308 weekly downloads+212%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
agnost weekly downloads growth on npm: -9.6% over 7 days, -40.9% over 30 days, +212% over 90 days.

Ranking history

agnost npm ranking history: currently #804 (by weekly downloads).agnostnpm ranking · by weekly downloads · Last 90 days#804current rank#200#300#400#500#600#700#800#900Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
agnost npm ranking history: currently #804 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 41, #4 (overall #804)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 6, #16 (overall #116)
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 (592)
Recent weekly downloads observations for agnost
Date (UTC)Weekly downloadsChange vs. previous
47,552-5.5K
53,091-3.7K
56,747-135
56,882-2.8K
59,702+7.2K
52,504+536
51,968-628
52,596+2.1K
50,461+344
50,117-154
50,271-191
50,462-735
51,197-4.5K
55,736—

Similar npm MCP servers plugins

All 20 agnost 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/agnost. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.