Skip to content
Tools / Link Preview / Use Cases / Fetch Rich Metadata from URLs

Fetch Rich Metadata from URLs

Pull the title, description, thumbnail image, and Open Graph data from any public URL.

Quick answer: Use the Link Preview tool through ToolRouter to fetch rich metadata from urls directly from Claude, ChatGPT, Microsoft Copilot, and OpenClaw — connect once, then drive it with plain-language prompts. No code required.

Tool
Link Preview icon
Link Preview

When you share a link in a messaging app, the preview that appears — the title, description, and thumbnail image — comes from Open Graph metadata embedded in the page. Accessing that data programmatically without visiting the page, parsing the HTML, and extracting the right tags is a non-trivial amount of work for a task that should be simple.

The preview_url skill fetches a URL and returns its structured metadata: page title, meta description, Open Graph title and description, thumbnail image URL, site name, and content type. You get the full preview data in one call.

Developers building link-sharing features, content teams curating external resources, and researchers building reference databases all use this to pull clean metadata from URLs without writing a custom scraper for every site format.

How to fetch rich metadata from urls with Claude, ChatGPT, Microsoft Copilot, and OpenClaw

Claude fetches link metadata and can immediately act on it — compare the Open Graph title to the actual page title, check whether the thumbnail is appropriate, or pull metadata from multiple URLs and present the results as a formatted summary.

Connect ToolRouter to Claude

1Open connector settings Open Settings
2Add a custom connector with these details
Name
ToolRouter
URL
https://api.toolrouter.com/mcp
3Let Claude set you up Open Claude

How to fetch rich metadata from urls with Claude

Once connected (see setup above), use the Link Preview tool:

  1. Ask: "Get the link preview metadata for: [paste URL]"
  2. Claude returns the title, description, image URL, and Open Graph data
  3. Ask follow-up: "Is the description a good summary of the page?"
  4. Use the metadata to populate a link card, database entry, or content feed

Example prompt for Claude

Try this with Claude using the Link Preview tool
Fetch the link preview metadata for these three URLs and tell me the title, description, and whether each has a thumbnail image: [url1], [url2], [url3].

Tips for Claude

  • Ask Claude to compare the Open Graph title vs the plain page title — discrepancies are common and worth knowing
  • Fetch metadata for multiple competitor pages to see how they position content in link previews
  • Ask whether the description is under 160 characters for SEO reference

Frequently Asked Questions

How do I fetch rich metadata from urls with an AI assistant?

Pull the title, description, thumbnail image, and Open Graph data from any public URL. Connect the Link Preview tool to Claude, ChatGPT, Microsoft Copilot, and OpenClaw through ToolRouter, then ask the assistant in plain language. For example: Ask: "Get the link preview metadata for: [paste URL]" Claude returns the title, description, image URL, and Open Graph data

Which AI assistants can fetch rich metadata from urls?

Claude, ChatGPT, Microsoft Copilot, and OpenClaw can all fetch rich metadata from urls using the Link Preview tool through ToolRouter, with no API keys or coding required.

What does the Link Preview tool do?

Fetch rich metadata from any URL — title, description, image, and Open Graph data.

Related Use Cases

Open Audit Open Graph Tags Across Pages

Audit Open Graph Tags Across Pages

Check whether pages are correctly set up for social sharing by auditing their Open Graph metadata.

Link Preview icon
Link Preview
4 agent guides
Open Populate Link Cards and Embeds

Populate Link Cards and Embeds

Fetch metadata from shared URLs to power link card previews in your application or content feed.

Link Preview icon
Link Preview
4 agent guides