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.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-nuget https://api.bowmark.ai/mcp/site/nugetPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-nuget": {
"url": "https://api.bowmark.ai/mcp/site/nuget"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-nuget","type":"http","url":"https://api.bowmark.ai/mcp/site/nuget"}'Run this in a terminal.
codex mcp add bowmark-nuget --url https://api.bowmark.ai/mcp/site/nugetIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/nugetIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/nugetAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/nugetFunctions
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"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.nuget.getPackage("Newtonsoft.Json");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.nuget.getPackage("Newtonsoft.Json"))Responsereturns nugetPackageinterface 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"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.nuget.listVersions("Newtonsoft.Json");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.nuget.listVersions("Newtonsoft.Json"))Responsereturns nugetVersionPageinterface 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}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.nuget.searchPackages("json", 2);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.nuget.searchPackages("json", 2))Responsereturns nugetPackagePageinterface 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[]; }