Skip to main content

OGP Information Server

A Model Context Protocol (MCP) server for extracting Open Graph Protocol (OGP) information from web pages. This server provides OGP metadata commonly used for social media sharing previews and rich link displays.

Overview

Open Graph Protocol is a standard that allows web pages to control how their content appears when shared on social media platforms like Facebook, Twitter, and LinkedIn. This MCP server extracts that structured metadata and makes it available through simple tool interfaces.

Tools

ogp-info

Extracts comprehensive OGP information from any web page URL.

Parameters:

  • url (string, required): The target web page URL

Returns:

Dictionary containing extracted OGP metadata such as:

  • title: Page title
  • description: Page description
  • image: OGP image URL
  • site_name: Site name
  • type: Content type
  • url: Canonical page URL
  • Additional OGP properties as available

ogp-image

Retrieves the OGP image from a web page and returns it as an optimized Image object.

Parameters:

  • url (string, required): The target web page URL

Returns:

OGP Image Data

Installation

Using uv (Recommended)

No special installation is required when using uv. You can run mcp-server-ogp directly using uvx.

Using PIP

Alternatively, you can install mcp-server-ogp using pip:

pip install mcp-server-ogp

After installation, you can run the script as follows:

mcp-server-ogp

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx
{
  "mcpServers": {
    "ogp": {
      "command": "uvx",
      "args": ["mcp-server-ogp"]
    }
  }
}

Configure for VS Code

For quick installation, use one of the one-click install buttons below...

Install with UV in VS Code

Command Line Options

You can specify the following options when running the server:

  • --sse: Enable Server-Sent Events transport (on/off)
  • --host: Server bind address (default: localhost)
  • --port: Server port number (default: 8000)
  • --log-level: Logging verbosity (debug, info, warning, error)

License

MIT

Metadata

Release files for mcp-server-ogp 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-ogp 0.1.5
File Size Uploaded Provenance
mcp_server_ogp-0.1.5.tar.gz 46.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-ogp 0.1.5
File Interpreter ABI Platform
mcp_server_ogp-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 54.0 kB

Release files / mcp_server_ogp-0.1.5.tar.gz

Download URL mcp_server_ogp-0.1.5.tar.gz
Size 46.9 kB
Tags Source
SHA-256 checksum
How to use checksums
818c8bb5e41258cb0ff0a3d0d63ad645470d90a3ba8e9bf9d7cfe2d636253242
BLAKE2b-256 checksum
How to use checksums
33dafbe1514d67d37af577957e1b155b01330e29a112af66343e1a0bfd5e5b3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / mcp_server_ogp-0.1.5-py3-none-any.whl

Download URL mcp_server_ogp-0.1.5-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81928d397a0926190203b2724878995c8fce67effba1b674e6249f847c37aa95
BLAKE2b-256 checksum
How to use checksums
eff36d49c608148c56fe5bb6c601a29995e96f3bd90d2a460a0e101668c7f662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for mcp-server-ogp 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page