# securecoders/opengraph-io-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/securecoders/opengraph-io-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 681  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/securecoders-opengraph-io-mcp

## Description
OpenGraph.io API integration for extracting OG metadata, taking screenshots, scraping web content, querying sites with AI, and generating branded images (illustrations, diagrams, social cards, icons, QR codes) with iterative refinement.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "opengraph-io-mcp": {
    "command": "npx",
    "args": ["-y","opengraph-io-mcp"]
  }
}
```

## Documentation

## What securecoders/opengraph-io-mcp does

OpenGraph.io capabilities become available to MCP-compatible AI clients through this package. The server covers web metadata, rendered page scraping, screenshots, natural-language page queries, HTML element extraction, Markdown conversion, and brand intelligence. It is suited to agents that need to inspect a URL, understand its content, or collect structured information without handling raw OpenGraph.io API credentials directly.

The server can retrieve Open Graph tags, HTML-inferred metadata, and hybrid social preview data. It can also process pages that require rendering, proxying, retries, scrolling, or load-more interactions. Markdown conversion removes navigation and advertisements by default and can return selected links, images, headings, metadata, and usage information.

## How it works

The hosted MCP endpoint is `https://mcp.opengraph.io/mcp` and uses OAuth 2.1. A compatible client opens a browser-based sign-in flow, where the user selects the OpenGraph.io API key to authorize. The authorization is managed through the OpenGraph dashboard rather than placed in a client configuration file.

Clients with built-in OAuth support can connect directly to the hosted URL. Clients that only launch local commands can use `mcp-remote` as a local bridge; it handles the browser sign-in and stores its authentication state under `~/.mcp-auth`.

Local stdio operation is also supported. The CLI installer and Claude Desktop extension use an OpenGraph.io App ID directly, and the extension is distributed as an `.mcpb` file through the project's releases. A global npm installation is available with `npm install -g opengraph-io-mcp`.

## Setup and configuration

The recommended installer can guide setup interactively:

```bash
npx opengraph-io-mcp-install
```

For a direct Cursor setup, pass the client and App ID:

```bash
npx opengraph-io-mcp-install --client cursor --app-id YOUR_APP_ID
```

The hosted endpoint can be added to clients such as Cursor, Claude Desktop, VS Code, Windsurf, JetBrains AI Assistant, Zed, and Claude Code. Claude Code uses an HTTP transport command:

```bash
claude mcp add --transport http opengraph https://mcp.opengraph.io/mcp
```

The older hosted-server configuration using the `x-app-id` header remains available temporarily, but it is deprecated. OAuth is the preferred hosted authentication method. OAuth-based access also enables the Open Graph Audit and Link Preview tools.

## Tools and capabilities

- **Get OG Data:** Retrieves Open Graph metadata, inferred tags, and social preview information with rendering, proxy, retry, and AI options.
- **Get OG Scrape Data:** Returns rendered HTML and supports scrolling, load-more actions, and AI sanitization.
- **Get OG Screenshot:** Captures full-page or viewport screenshots with options for dark mode, delays, hidden selectors, and viewport size.
- **Get OG Query:** Answers natural-language questions about a page.
- **Get OG Extract:** Selects HTML elements such as headings, paragraphs, links, and images by tag.
- **Get OG Markdown:** Converts pages to cleaned Markdown, optionally returning selected content, ranked chunks, links, images, headings, and prompt-injection safety information.
- **Get Brand Intelligence:** Builds a structured profile covering identity, products, audiences, positioning, messaging, voice, and visual style from a site's pages.

## Limitations and notes

Most scraping and metadata tools use OpenGraph.io's v3 API defaults. Query, element extraction, and brand intelligence use v1.1 endpoints. Brand analysis can cost 500 credits for a fresh analysis and 1 credit when served from cache; page queries use 100–200 credits per request. The legacy App ID header does not provide the OAuth-only Open Graph Audit and Link Preview tools.

_Full upstream README: https://allmcps.com/mcp/securecoders-opengraph-io-mcp/readme_

