Skip to main content
Glama
KnowledgeSDK MCP Server

KnowledgeSDK MCP Server

Official
by KnowledgeSDK

KnowledgeSDK MCP Server

What is KnowledgeSDK?

KnowledgeSDK is an API that turns any website into structured, searchable knowledge — built for developers, AI agents, and data pipelines.

  • Scrape — Convert any URL to clean Markdown (/v1/scrape)

  • Extract — Full AI extraction: business classification, product features, pricing, and key insights (/v1/extract)

  • Screenshot — Full-page screenshots of any website (/v1/screenshot)

  • Sitemap — Discover all URLs on a domain (/v1/sitemap)

  • Search — Semantic search across your extracted knowledge base (/v1/search)

  • Crawl — Crawl an entire domain (/v1/crawl)

Get your API key

Related MCP server: openmcp

Tools

Tool

Description

extract

Extract structured knowledge from any website URL. Returns business classification, product features, pricing, and key insights. This is the full AI extraction pipeline.

scrape

Scrape clean markdown content from any webpage URL. Perfect for reading documentation, articles, or any web content.

get_sitemap

Discover all pages on a website via its sitemap. Returns a list of URLs for further processing.

take_screenshot

Take a full-page screenshot of any URL. Returns a base64-encoded PNG image.

search_knowledge

Search your extracted knowledge base using natural language. Returns relevant knowledge items ranked by semantic similarity.

Requirements


Setup with Claude Desktop

  1. Open your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Add the following to the mcpServers section:

{
  "mcpServers": {
    "knowledgesdk": {
      "command": "npx",
      "args": ["-y", "@knowledgesdk/mcp"],
      "env": {
        "KNOWLEDGESDK_API_KEY": "knowledgesdk_live_your_key_here"
      }
    }
  }
}
  1. Restart Claude Desktop.

You should now see the KnowledgeSDK tools available in your Claude Desktop conversations.


Setup with Cursor

  1. Open Cursor Settings → Features → MCP Servers.

  2. Click + Add new MCP server.

  3. Choose stdio as the transport type.

  4. Enter the following command:

npx -y @knowledgesdk/mcp
  1. Add the environment variable:

KNOWLEDGESDK_API_KEY=knowledgesdk_live_your_key_here

Alternatively, edit ~/.cursor/mcp.json directly:

{
  "mcpServers": {
    "knowledgesdk": {
      "command": "npx",
      "args": ["-y", "@knowledgesdk/mcp"],
      "env": {
        "KNOWLEDGESDK_API_KEY": "knowledgesdk_live_your_key_here"
      }
    }
  }
}

Setup with Windsurf

  1. Open Windsurf Settings → Cascade → MCP Servers.

  2. Click Add Server and select Command.

  3. Configure as follows:

{
  "mcpServers": {
    "knowledgesdk": {
      "command": "npx",
      "args": ["-y", "@knowledgesdk/mcp"],
      "env": {
        "KNOWLEDGESDK_API_KEY": "knowledgesdk_live_your_key_here"
      }
    }
  }
}

Or edit ~/.codeium/windsurf/mcp_config.json directly with the same JSON block above.


Environment Variables

Variable

Required

Description

KNOWLEDGESDK_API_KEY

Yes

Your KnowledgeSDK API key

KNOWLEDGESDK_BASE_URL

No

Override the API base URL (default: https://api.knowledgesdk.com)


Example Usage

Once configured, you can ask your AI assistant:


Development

# Install dependencies
npm install

# Build TypeScript
npm run build

# Test the stdio server locally (requires KNOWLEDGESDK_API_KEY)
KNOWLEDGESDK_API_KEY=knowledgesdk_live_your_key npm run test:local

Documentation

Full API reference → https://knowledgesdk.com/docs

Contributing

We love PRs!

  1. Fork → git checkout -b feat/awesome

  2. Add tests & docs

  3. PR against main

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to browse and extract content from JavaScript-rendered web pages via the Model Context Protocol, returning plain text, HTML, or Markdown.
      1
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to automate web tasks such as browsing, clicking, typing, and taking screenshots via the Model Context Protocol.
      1
      MIT