NuGet Gallery API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read NuGet Gallery. No NuGet Gallery API key needed.

Add to your agent

Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.

Read https://bowmark.ai/sites/nuget.md and add Bowmark's NuGet Gallery MCP server to my agent.

Functions

Open a function to see its parameters and run it with your own API key.

  • getPackageOne nuget.org package by exact id: latest version, description, authors, owners, tags, total downloads, URLs and every version with its download…

    POST /v1/sites/nuget/getPackage

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/nuget/getPackage \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"id":"Newtonsoft.Json"}'
    Sign in to run
    Responsereturns nugetPackage
    interface nugetPackage {
      id: string;
      version: string; // latest version in the search index
      title: string | null;
      description: string | null;
      authors: string[];
      owners: string[];
      tags: string[];
      totalDownloads: number | null;
      verified: boolean; // id prefix is reserved and verified
      projectUrl: string | null;
      licenseUrl: string | null;
      iconUrl: string | null;
      url: string; // the package page on nuget.org
      versions: { version: string; downloads: number | null }[]; // every listed version with its download count
    }
  • listVersionsEvery published version string of a nuget.org package id, oldest first, from the registry's flat container.

    POST /v1/sites/nuget/listVersions

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/nuget/listVersions \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"id":"Newtonsoft.Json"}'
    Sign in to run
    Responsereturns nugetVersionPage
    interface nugetVersionPage {
      results: string[];
      total: number | null; // the site's own count
      page: number;
      pageCount: number | null;
      returned: number;
      warnings: string[];
    }
  • searchPackagesFinds .NET packages on nuget.org by keyword through its v3 search service: id, latest version, description, authors, owners, tags, total downloads…

    POST /v1/sites/nuget/searchPackages

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/nuget/searchPackages \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"query":"json","take":2}'
    Sign in to run
    Responsereturns nugetPackagePage
    interface nugetPackage {
      id: string;
      version: string; // latest version in the search index
      title: string | null;
      description: string | null;
      authors: string[];
      owners: string[];
      tags: string[];
      totalDownloads: number | null;
      verified: boolean; // id prefix is reserved and verified
      projectUrl: string | null;
      licenseUrl: string | null;
      iconUrl: string | null;
      url: string; // the package page on nuget.org
      versions: { version: string; downloads: number | null }[]; // every listed version with its download count
    }
    
    interface nugetPackagePage {
      results: nugetPackage[];
      total: number | null; // the site's own count
      page: number;
      pageCount: number | null;
      returned: number;
      warnings: string[];
    }