SDKsMCP Server

MCP Server

Use Orsa as a tool provider for AI assistants via the Model Context Protocol (MCP). Works with Claude Desktop, Cursor, and any MCP-compatible client.

What is MCP?

MCP is an open protocol that lets AI assistants use external tools. With the Orsa MCP server, Claude and other assistants can:

  • Scrape websites for real-time content (markdown, HTML)
  • Look up brand data (logos, colors, industries, fonts)
  • Extract products from a domain via tool-use
  • Run natural-language queries against any website
  • Take a screenshot of any domain’s homepage
  • Match bank transaction descriptors to brands

Under the hood the MCP server is a thin wrapper around the @orsa.dev/sdk TypeScript SDK.

Installation

npm install -g @orsa.dev/mcp-server
# or run without installing:
npx @orsa.dev/mcp-server

Claude Desktop Setup

Add the Orsa MCP server to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "orsa": {
      "command": "npx",
      "args": ["@orsa.dev/mcp-server"],
      "env": {
        "ORSA_API_KEY": "or_live_your_key_here"
      }
    }
  }
}

Restart Claude Desktop after saving.

Cursor Setup

Add to your Cursor MCP settings (.cursor/mcp.json in your project root):

{
  "mcpServers": {
    "orsa": {
      "command": "npx",
      "args": ["@orsa.dev/mcp-server"],
      "env": {
        "ORSA_API_KEY": "or_live_your_key_here"
      }
    }
  }
}

Available Tools

Once configured, the following tools are available to your AI assistant. Tool names mirror the underlying SDK methods.

Web scraping

ToolSDK methodDescriptionCredits
scrape_htmlweb.scrape({ mode: 'html' })Single-page raw HTML1
scrape_markdownweb.scrape({ mode: 'markdown' })Single-page clean markdown1
scrape_imagesweb.scrapeImagesAll images with role classification1
scrape_sitemapweb.scrapeSitemapSitemap URLs + path-grouped buckets1

Brand intelligence

ToolSDK methodDescriptionCredits
get_brandbrand.retrieveFull brand data (Context.dev shape)10
get_brand_by_namebrand.retrieveByNameFuzzy company-name lookup2
get_brand_by_emailbrand.retrieveByEmailLookup by business email10
get_brand_screenshotbrand.screenshotHomepage screenshot (inline base64 PNG)5
get_brand_styleguidebrand.styleguideDesign tokens + DESIGN.md15
get_brand_fontsbrand.fontsFont families + sources5
get_naicsbrand.naicsIndustry classification5
identify_transactionbrand.transactionIdentifierMatch a bank descriptor to a brand10

AI

ToolSDK methodDescriptionCredits
ai_queryai.queryNatural-language extraction20
extract_productsai.productsTool-use enforced product list15

Usage Examples

Once the MCP server is running, ask Claude naturally:

  • “What are the brand colors for linear.app?”
  • “Scrape the pricing page of stripe.com and summarize the plans.”
  • “Extract all products from shopify.com with their prices.”
  • “Take a screenshot of github.com.”
  • “What fonts does vercel.com use?”

Claude will automatically call the appropriate Orsa tool.

Environment Variables

VariableRequiredDescription
ORSA_API_KEYYesYour Orsa API key
ORSA_BASE_URLNoCustom API base URL (default: https://api.orsa.dev)

Troubleshooting

Tools not appearing in Claude

  1. Verify the config file path is correct for your OS.
  2. Ensure ORSA_API_KEY is set (not an empty string).
  3. Restart Claude Desktop completely (quit + relaunch).
  4. Check Claude Desktop logs for MCP connection errors.

”API key invalid” errors

Timeout errors

Some tools — AI query, styleguide extraction, AI products — can take 30-90 seconds on a cold cache. The MCP server handles timeouts automatically, but if you see frequent timeouts, the target website may be slow or blocking requests.