crates.io API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read crates.io. No crates.io 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/crates_io.md and add Bowmark's crates.io MCP server to my agent.

Functions

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

  • getCrateOne crate's metadata off crates.io plus every published version (newest first) with its license, minimum Rust version, edition, yanked flag…

    POST /v1/sites/crates_io/getCrate

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/crates_io/getCrate \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"name":"serde"}'
    Sign in to run
    Responsereturns crates_ioCrateDetail
    interface crates_ioVersion {
      version: string;
      publishedAt: string | null; // ISO-8601
      yanked: boolean;
      license: string | null;
      rustVersion: string | null; // minimum supported Rust
      edition: string | null;
      downloads: number;
      publishedBy: string | null; // crates.io login
      features: Record<string, string[]>;
    }
    
    interface crates_ioCrateDetail {
      name: string;
      description: string | null;
      version: string; // highest stable version the registry reports
      downloads: number;
      recentDownloads: number | null; // last ~90 days
      createdAt: string | null; // ISO-8601
      updatedAt: string | null; // ISO-8601
      repository: string | null;
      homepage: string | null;
      documentation: string | null;
      keywords: string[];
      categories: string[];
      versions: crates_ioVersion[]; // newest first
    }