Skip to main content
Glama
praveen030686

@praveen030686/data-apis-mcp

web_extract_metadata

Extract metadata from any URL including title, author, description, images, links, and headings using micropayments on Base.

Instructions

Extract title, author, description, images, links, and headings from any URL. Costs $0.02 USDC per request via x402 on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to extract metadata from

Implementation Reference

  • The handler and registration logic for the "web_extract_metadata" tool.
      "web_extract_metadata",
      {
        title: "Extract Page Metadata",
        description: `Extract title, author, description, images, links, and headings from any URL.
    Costs $0.02 USDC per request via x402 on Base.`,
        inputSchema: {
          url: z.string().url().describe("URL to extract metadata from"),
        },
        annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
      },
      async ({ url }) => {
        const data = await apiPost(`${WEB_EXTRACT_API}/api/v1/extract/metadata`, { url });
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );

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/praveen030686/x402-apis-mcp-server'

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