Skip to main content
Glama

patent_stats

Analyze patent dataset statistics including total patents, type breakdowns, top CPC sections, assignees, and data source details to support research and analysis.

Instructions

Get statistics about the patent dataset: total patents, type breakdown, top CPC sections, top assignees, last updated timestamp, and data source information. Free endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The "patent_stats" tool is registered and implemented here, calling the /api/v1/patents/stats endpoint.
    server.registerTool(
      "patent_stats",
      {
        title: "Patent Dataset Statistics",
        description:
          "Get statistics about the patent dataset: total patents, type breakdown, " +
          "top CPC sections, top assignees, last updated timestamp, and data source information. Free endpoint.",
        inputSchema: {},
      },
      async () => {
        const res = await apiGet<PatentStatsResponse>("/api/v1/patents/stats");
    
        if (!res.ok) {
          return {
            content: [
              {
                type: "text" as const,
                text: `API error (${res.status}): ${JSON.stringify(res.data)}`,
              },
            ],
            isError: true,
          };
        }
    
        return {
          content: [
            { type: "text" as const, text: JSON.stringify(res.data, null, 2) },
          ],
        };
      },
    );
  • The response shape for patent_stats is defined by the PatentStatsResponse interface.
    interface PatentStatsResponse {
      dataset: string;
      source: string;
      update_frequency: string;
      stats: Record<string, unknown>;
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/carrierone/verilexdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server