fetchserp-mcp-server-node

fetchSERP/fetchserp-mcp-server-node

3.3

If you are the rightful owner of fetchserp-mcp-server-node and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

FetchSERP MCP Server is a Model Context Protocol server that provides access to the FetchSERP API for SEO, SERP analysis, web scraping, and keyword research.

The FetchSERP MCP Server is designed to facilitate seamless access to the FetchSERP API, offering a comprehensive suite of tools for SEO, SERP analysis, web scraping, and keyword research. This server supports various transport modes, including npx and HTTP, making it versatile for both individual users and enterprise environments. With features like domain analysis, keyword research, and AI-powered webpage analysis, it caters to a wide range of SEO and digital marketing needs. The server is easy to deploy, requiring no installation when using npx, and offers scalable architecture for larger teams through HTTP mode. Additionally, it supports integration with popular AI models like Claude and OpenAI, enhancing its utility in programmatic environments. Users can also deploy the server using Docker for containerized environments, ensuring cross-platform compatibility and easy scaling.

Features

  • Domain Analysis: Provides comprehensive domain information including backlinks, DNS, WHOIS, and more.
  • Keyword Research: Offers tools for search volume analysis, keyword suggestions, and long-tail keyword generation.
  • SEO Analysis: Delivers in-depth webpage SEO analysis and AI-powered insights.
  • SERP & Search: Retrieves search engine results from multiple platforms and checks domain rankings.
  • Web Scraping: Supports basic and JavaScript-enabled web scraping with proxy options.

Usages

npx with Claude Desktop

{
  "mcpServers": {
    "fetchserp": {
      "command": "npx",
      "args": [
        "github:fetchSERP/fetchserp-mcp-server-node"
      ],
      "env": {
        "FETCHSERP_API_TOKEN": "your_fetchserp_api_token_here"
      }
    }
  }
}

npx with npm registry

{
  "mcpServers": {
    "fetchserp": {
      "command": "npx",
      "args": ["fetchserp-mcp-server"],
      "env": {
        "FETCHSERP_API_TOKEN": "your_fetchserp_api_token_here"
      }
    }
  }
}

Claude API with MCP Server

javascript
const claudeRequest = {
  model: "claude-sonnet-4-20250514",
  max_tokens: 1024,
  messages: [
    {
      role: "user", 
      content: question
    }
  ],
  // MCP Server Configuration
  mcp_servers: [
    {
      type: "url",
      url: "https://mcp.fetchserp.com/sse",
      name: "fetchserp",
      authorization_token: FETCHSERP_API_TOKEN,
      tool_configuration: {
        enabled: true
      }
    }
  ]
};

const response = await httpRequest('https://api.anthropic.com/v1/messages', {
  method: 'POST',
  headers: {
    'x-api-key': CLAUDE_API_KEY,
    'anthropic-version': '2023-06-01',
    'anthropic-beta': 'mcp-client-2025-04-04',
    'content-type': 'application/json'
  }
}, JSON.stringify(claudeRequest));

OpenAI API with MCP Server

javascript
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });

const res = await openai.responses.create({
  model: "gpt-4.1",
  tools: [
    {
      type: "mcp",
      server_label: "fetchserp",
      server_url: "https://mcp.fetchserp.com/sse",
      headers: {
        Authorization: `Bearer ${FETCHSERP_API_TOKEN}`
      }
    }
  ],
  input: question
});

console.log(res.choices[0].message);

Docker with GitHub Container Registry

{
  "mcpServers": {
    "fetchserp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "FETCHSERP_API_TOKEN",
        "ghcr.io/fetchserp/fetchserp-mcp-server-node:latest"
      ],
      "env": {
        "FETCHSERP_API_TOKEN": "your_fetchserp_api_token_here"
      }
    }
  }
}

Tools

  1. get_backlinks

    Get backlinks for a domain.

  2. get_domain_info

    Get comprehensive domain information.

  3. get_keywords_search_volume

    Get search volume for keywords.

  4. get_serp_results

    Get search engine results.

  5. scrape_webpage

    Scrape webpage without JavaScript.