OpenGraph MCP Server for Claude Code
Add web data capabilities to Claude Code with a single command. No config files to edit—just run the install command and you're ready to go.
One-Command Installation
Claude Code (the CLI) has built-in support for adding MCP servers. Install OpenGraph MCP with:
claude mcp add --transport http opengraph https://mcp.opengraph.io/mcpThe first time you use it, a browser tab opens so you can sign in with your OpenGraph.io account — no App ID needed.
Using an API key instead
Prefer a static key over signing in?
claude mcp add --transport http --header "x-app-id: YOUR_OPENGRAPH_APP_ID" opengraph https://mcp.opengraph.io/mcpReplace YOUR_OPENGRAPH_APP_ID with your actual App ID from dashboard.opengraph.io. See Signing In for more on both options.
Command Breakdown
Here's what each part of the command does:
claude mcp add– Claude Code's built-in command to add MCP servers--transport http– Connect to the hosted server over HTTPopengraph– The name you'll use to reference this MCP serverhttps://mcp.opengraph.io/mcp– The hosted server URL--header "x-app-id: ..."– Optional: authenticate with a static API key instead of signing in
Verifying Installation
After adding the MCP server, list your configured servers:
claude mcp listYou should see opengraph in the list.
Then test it with a prompt:
claude "Use the opengraph tools to unfurl https://github.com and tell me the page title"Managing MCP Servers
Remove the server
claude mcp remove opengraphSwitch from an API key to signing in
Remove and re-add without the header:
claude mcp remove opengraph
claude mcp add --transport http opengraph https://mcp.opengraph.io/mcpExample Usage
Research a URL
claude "Unfurl https://stripe.com and summarize what the company does based on the metadata"Screenshot a page
claude "Take a screenshot of https://linear.app and describe the hero section"Scrape content
claude "Scrape https://news.ycombinator.com and list the top 5 story titles"Troubleshooting
Command not found: claude
Make sure Claude Code CLI is installed. Visit Anthropic's documentation for installation instructions.
MCP server not responding
- If you signed in, make sure you approved the connection in the browser tab that opened
- If you're using an API key, check your App ID is correct
- Try removing and re-adding the server:
claude mcp remove opengraph