Skip to main content
Glama

get_latest_30_cves

Retrieve the 30 most recent CVEs with CAPEC, CWE, and CPE expansions from cve-search.org for security monitoring and vulnerability assessment.

Instructions

Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function that fetches the latest 30 CVEs from the CVE Search API (https://cve.circl.lu/api/last). This is the exact implementation of the tool logic.
    export async function getLatest30Cves(): Promise<any> { const response = await fetch(`${BASE_URL}/last`); if (!response.ok) { throw new Error(`Failed to get last CVEs: ${response.statusText}`); } return response.json(); }
  • src/index.ts:471-475 (registration)
    Registration of the 'get_latest_30_cves' tool in the ListToolsRequest handler, defining its name, description, and parameterless input schema.
    { name: "get_latest_30_cves", description: "Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org", inputSchema: zodToJsonSchema(z.object({})),
  • Execution handler in the CallToolRequest switch statement that calls the getLatest30Cves function from cves module and returns the JSON-formatted response.
    case "get_latest_30_cves": { const response = await cves.getLatest30Cves(); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], }; }
  • Input schema definition for the tool: empty object since the tool takes no parameters.
    "Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org",
  • Base URL constant used by all CVE-related functions, including getLatest30Cves.
    const BASE_URL = "https://cve.circl.lu/api";

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/rad-security/mcp-server'

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