P

Pagemint

by HarshaVardhan1111 · io.github.HarshaVardhan1111/pagemint

Enables AI clients to scrape individual web pages into clean Markdown, crawl sites breadth-first, and map site URLs while respecting robots.txt and rate limits.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-harshavardhan1111-pagemint": {
      "command": "uvx",
      "args": [
        "pagemint"
      ],
      "env": {
        "PAGEMINT_SEARXNG_URL": "<VALUE>",
        "PAGEMINT_TAVILY_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_BRAVE_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_MAX_BYTES": "5 MB",
        "PAGEMINT_RATE_LIMIT": "1",
        "PAGEMINT_PAGE_TIMEOUT": "30",
        "PAGEMINT_READ_TIMEOUT": "20",
        "PAGEMINT_ALLOW_PRIVATE": "0",
        "PAGEMINT_MAX_REDIRECTS": "5",
        "PAGEMINT_PAGE_CHAR_CAP": "20000",
        "PAGEMINT_CONNECT_TIMEOUT": "10",
        "PAGEMINT_RESULT_CHAR_CAP": "300000",
        "PAGEMINT_CRAWL_TIME_BUDGET": "120",
        "PAGEMINT_JS_FALLBACK_CHARS": "200",
        "PAGEMINT_BROWSER_EXECUTABLE": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-harshavardhan1111-pagemint": {
      "command": "uvx",
      "args": [
        "pagemint"
      ],
      "env": {
        "PAGEMINT_SEARXNG_URL": "<VALUE>",
        "PAGEMINT_TAVILY_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_BRAVE_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_MAX_BYTES": "5 MB",
        "PAGEMINT_RATE_LIMIT": "1",
        "PAGEMINT_PAGE_TIMEOUT": "30",
        "PAGEMINT_READ_TIMEOUT": "20",
        "PAGEMINT_ALLOW_PRIVATE": "0",
        "PAGEMINT_MAX_REDIRECTS": "5",
        "PAGEMINT_PAGE_CHAR_CAP": "20000",
        "PAGEMINT_CONNECT_TIMEOUT": "10",
        "PAGEMINT_RESULT_CHAR_CAP": "300000",
        "PAGEMINT_CRAWL_TIME_BUDGET": "120",
        "PAGEMINT_JS_FALLBACK_CHARS": "200",
        "PAGEMINT_BROWSER_EXECUTABLE": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-harshavardhan1111-pagemint": {
      "command": "uvx",
      "args": [
        "pagemint"
      ],
      "env": {
        "PAGEMINT_SEARXNG_URL": "<VALUE>",
        "PAGEMINT_TAVILY_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_BRAVE_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_MAX_BYTES": "5 MB",
        "PAGEMINT_RATE_LIMIT": "1",
        "PAGEMINT_PAGE_TIMEOUT": "30",
        "PAGEMINT_READ_TIMEOUT": "20",
        "PAGEMINT_ALLOW_PRIVATE": "0",
        "PAGEMINT_MAX_REDIRECTS": "5",
        "PAGEMINT_PAGE_CHAR_CAP": "20000",
        "PAGEMINT_CONNECT_TIMEOUT": "10",
        "PAGEMINT_RESULT_CHAR_CAP": "300000",
        "PAGEMINT_CRAWL_TIME_BUDGET": "120",
        "PAGEMINT_JS_FALLBACK_CHARS": "200",
        "PAGEMINT_BROWSER_EXECUTABLE": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-harshavardhan1111-pagemint": {
      "command": "uvx",
      "args": [
        "pagemint"
      ],
      "env": {
        "PAGEMINT_SEARXNG_URL": "<VALUE>",
        "PAGEMINT_TAVILY_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_BRAVE_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_MAX_BYTES": "5 MB",
        "PAGEMINT_RATE_LIMIT": "1",
        "PAGEMINT_PAGE_TIMEOUT": "30",
        "PAGEMINT_READ_TIMEOUT": "20",
        "PAGEMINT_ALLOW_PRIVATE": "0",
        "PAGEMINT_MAX_REDIRECTS": "5",
        "PAGEMINT_PAGE_CHAR_CAP": "20000",
        "PAGEMINT_CONNECT_TIMEOUT": "10",
        "PAGEMINT_RESULT_CHAR_CAP": "300000",
        "PAGEMINT_CRAWL_TIME_BUDGET": "120",
        "PAGEMINT_JS_FALLBACK_CHARS": "200",
        "PAGEMINT_BROWSER_EXECUTABLE": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-harshavardhan1111-pagemint": {
      "command": "uvx",
      "args": [
        "pagemint"
      ],
      "env": {
        "PAGEMINT_SEARXNG_URL": "<VALUE>",
        "PAGEMINT_TAVILY_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_BRAVE_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_MAX_BYTES": "5 MB",
        "PAGEMINT_RATE_LIMIT": "1",
        "PAGEMINT_PAGE_TIMEOUT": "30",
        "PAGEMINT_READ_TIMEOUT": "20",
        "PAGEMINT_ALLOW_PRIVATE": "0",
        "PAGEMINT_MAX_REDIRECTS": "5",
        "PAGEMINT_PAGE_CHAR_CAP": "20000",
        "PAGEMINT_CONNECT_TIMEOUT": "10",
        "PAGEMINT_RESULT_CHAR_CAP": "300000",
        "PAGEMINT_CRAWL_TIME_BUDGET": "120",
        "PAGEMINT_JS_FALLBACK_CHARS": "200",
        "PAGEMINT_BROWSER_EXECUTABLE": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-harshavardhan1111-pagemint": {
      "command": "uvx",
      "args": [
        "pagemint"
      ],
      "env": {
        "PAGEMINT_SEARXNG_URL": "<VALUE>",
        "PAGEMINT_TAVILY_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_BRAVE_API_KEY": "<YOUR_VALUE>",
        "PAGEMINT_MAX_BYTES": "5 MB",
        "PAGEMINT_RATE_LIMIT": "1",
        "PAGEMINT_PAGE_TIMEOUT": "30",
        "PAGEMINT_READ_TIMEOUT": "20",
        "PAGEMINT_ALLOW_PRIVATE": "0",
        "PAGEMINT_MAX_REDIRECTS": "5",
        "PAGEMINT_PAGE_CHAR_CAP": "20000",
        "PAGEMINT_CONNECT_TIMEOUT": "10",
        "PAGEMINT_RESULT_CHAR_CAP": "300000",
        "PAGEMINT_CRAWL_TIME_BUDGET": "120",
        "PAGEMINT_JS_FALLBACK_CHARS": "200",
        "PAGEMINT_BROWSER_EXECUTABLE": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PAGEMINT_SEARXNG_URL No Optional: your own SearXNG for web search, e.g. http://localhost:8888
PAGEMINT_TAVILY_API_KEY secret No Optional: your own Tavily API key for web search
PAGEMINT_BRAVE_API_KEY secret No Optional: your own Brave Search API key for web search
PAGEMINT_MAX_BYTES No Maximum page size. Default: 5 MB. Default: 5 MB
PAGEMINT_RATE_LIMIT No Delay between requests to the same site, in seconds. Default: 1 second. Default: 1
PAGEMINT_PAGE_TIMEOUT No Total time per page including all redirects, in seconds. Default: 30 s. Default: 30
PAGEMINT_READ_TIMEOUT No Read timeout in seconds. Default: 20 s. Default: 20
PAGEMINT_ALLOW_PRIVATE No Set to 1 to allow scraping private networks / localhost (otherwise refused). Default: off. Default: 0
PAGEMINT_MAX_REDIRECTS No Maximum number of redirects. Default: 5. Default: 5
PAGEMINT_PAGE_CHAR_CAP No Crawl output per page, in characters. Default: 20,000 characters. Default: 20000
PAGEMINT_CONNECT_TIMEOUT No Connect timeout in seconds. Default: 10 s. Default: 10
PAGEMINT_RESULT_CHAR_CAP No Crawl output per call, in characters. Default: 300,000 characters. Default: 300000
PAGEMINT_CRAWL_TIME_BUDGET No Crawl time budget in seconds. Default: 120 s. Default: 120
PAGEMINT_JS_FALLBACK_CHARS No Browser fallback is triggered below this many characters of text. Default: 200; set to 0 to turn it off. Default: 200
PAGEMINT_BROWSER_EXECUTABLE No Path to the Chrome/Chromium binary to use for JavaScript rendering. Default: Playwright's bundled browser.

Similar servers