Skip to main content

Overview

The AnySite MCP (Model Context Protocol) Server provides AI tools with direct access to LinkedIn, Instagram, Reddit, and other social media data extraction capabilities.

Prerequisites

  • Python 3.8 or higher
  • AnySite API account and credentials
  • Compatible AI client (Claude Desktop, Cursor, Windsurf)

Installation

1

Clone Repository

git clone https://github.com/horizondatawave/hdw-mcp-server.git
cd hdw-mcp-server
2

Get API Credentials

  1. Visit anysite.io
  2. Create your account and log in
  3. Navigate to account settings
  4. Generate your API credentials:
    • HDW_ACCESS_TOKEN: Your API access token
    • HDW_ACCOUNT_ID: Your account identifier
3

Configure Environment

Create a .env file or set environment variables:
export HDW_ACCESS_TOKEN="your_access_token_here"
export HDW_ACCOUNT_ID="your_account_id_here"

Client Configuration

Claude Desktop

Add this configuration to your Claude Desktop config file:
  • macOS
  • Windows
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
  "mcpServers": {
    "hdw-mcp-server": {
      "command": "python",
      "args": ["/path/to/hdw-mcp-server/main.py"],
      "env": {
        "HDW_ACCESS_TOKEN": "your_access_token_here",
        "HDW_ACCOUNT_ID": "your_account_id_here"
      }
    }
  }
}

Cursor

Add to your Cursor settings:
{
  "mcp.servers": {
    "hdw-mcp-server": {
      "command": "python",
      "args": ["/path/to/hdw-mcp-server/main.py"],
      "env": {
        "HDW_ACCESS_TOKEN": "your_access_token_here",
        "HDW_ACCOUNT_ID": "your_account_id_here"
      }
    }
  }
}

Windsurf

Configure in your Windsurf settings:
{
  "mcpServers": {
    "hdw-mcp-server": {
      "command": "python",
      "args": ["/path/to/hdw-mcp-server/main.py"],
      "env": {
        "HDW_ACCESS_TOKEN": "your_access_token_here",
        "HDW_ACCOUNT_ID": "your_account_id_here"
      }
    }
  }
}

Verification

After installation, restart your AI client and verify the MCP server is working:
  1. Open a new conversation in your AI client
  2. Ask: “What MCP tools do you have available?”
  3. You should see AnySite tools listed
Make sure to replace /path/to/hdw-mcp-server/ with the actual path where you cloned the repository.

Troubleshooting

  • Check that the file path in your configuration is correct
  • Verify that Python is accessible from the command line
  • Ensure your credentials are properly set in the environment variables
  • Restart your AI client after making configuration changes
  • Verify your HDW_ACCESS_TOKEN and HDW_ACCOUNT_ID are correct
  • Check that your AnySite account is active
  • Ensure you have API access permissions
  • Use the full path to your Python executable
  • If using a virtual environment, use the Python path from that environment
  • On Windows, use forward slashes or double backslashes in paths

Next Steps

I