AnySite MCP Server

AnySite MCP Server

Enables comprehensive access to LinkedIn and Instagram data including user profiles, posts, comments, and account management features like messaging and connections. Also provides Google search and Reddit post search capabilities through the AnySite API.

Category
Visit Server

README

AnySite MCP Server

smithery badge

A Model Context Protocol (MCP) server that provides comprehensive access to LinkedIn and Instagram data and functionalities using the AnySite API, enabling not only data retrieval but also robust management of user accounts.

Features

  • LinkedIn Users Search: Filter and search for LinkedIn users by keywords, name, title, company, location, industry, and education.

  • Profile Lookup: Retrieve detailed profile information for a LinkedIn user.

  • Email Lookup: Find LinkedIn user details by email address.

  • Posts & Reactions: Retrieve a user's posts and associated reactions.

  • Post Reposts, Comments & Reactions: Retrieve reposts, comments, and reactions for a specific LinkedIn post.

  • Account Management:

    • Chat Functionality: Retrieve and send chat messages via the LinkedIn management API.
    • Connection Management: Send connection invitations to LinkedIn users.
    • Post Commenting: Create comments on LinkedIn posts or replies.
    • User Connections: Retrieve a list of a user's LinkedIn connections.
  • Company Search & Details:

    • Google Company Search: Find LinkedIn companies using Google search – the first result is typically the best match.
    • Company Lookup: Retrieve detailed information about a LinkedIn company.
    • Company Employees: Retrieve employees for a given LinkedIn company.
  • Google Search

  • Reddit Search: Search for Reddit posts with various filters including query, sort options, time filters, and result count.

  • Instagram Data Access:

    • User Profiles: Get detailed Instagram user information by URL, alias, or ID.
    • User Posts: Retrieve posts from Instagram users.
    • Post Comments: Get comments for specific Instagram posts.

Tools

AnySite MCP Server exposes several tools through the MCP protocol. Each tool is defined with its name, description, and input parameters:

  1. Search LinkedIn Users
    Name: search_linkedin_users
    Description: Search for LinkedIn users with various filters.
    Parameters:

    • keywords (optional): Any keyword for search.
    • first_name, last_name, title, company_keywords, school_keywords (optional).
    • current_company, past_company, location, industry, education (optional).
    • count (optional, default: 10): Maximum number of results (max 1000).
    • timeout (optional, default: 300): Timeout in seconds (20–1500).
  2. Get LinkedIn Profile
    Name: get_linkedin_profile
    Description: Retrieve detailed profile information about a LinkedIn user.
    Parameters:

    • user (required): User alias, URL, or URN.
    • with_experience, with_education, with_skills (optional, default: true).
  3. Get LinkedIn Email User
    Name: get_linkedin_email_user
    Description: Look up LinkedIn user details by email.
    Parameters:

    • email (required): Email address.
    • count (optional, default: 5).
    • timeout (optional, default: 300).
  4. Get LinkedIn User Posts
    Name: get_linkedin_user_posts
    Description: Retrieve posts for a LinkedIn user by URN.
    Parameters:

    • urn (required): User URN (must include prefix, e.g. fsd_profile:...).
    • count (optional, default: 10).
    • timeout (optional, default: 300).
  5. Get LinkedIn User Reactions
    Name: get_linkedin_user_reactions
    Description: Retrieve reactions for a LinkedIn user by URN.
    Parameters:

    • urn (required).
    • count (optional, default: 10).
    • timeout (optional, default: 300).
  6. Get LinkedIn User Comments
    Name: get_linkedin_user_comments
    Description: Retrieve comments for a LinkedIn user by URN.
    Parameters:

    • urn (required): User URN (with prefix).
    • count (optional, default: 10).
    • timeout (optional, default: 300).
    • commented_after (optional): Filter comments created after the specified timestamp.
  7. Get LinkedIn Chat Messages
    Name: get_linkedin_chat_messages
    Description: Retrieve top chat messages from the LinkedIn management API.
    Parameters:

    • user (required): User URN (with prefix).
    • count (optional, default: 20).
    • timeout (optional, default: 300).
  8. Send LinkedIn Chat Message
    Name: send_linkedin_chat_message
    Description: Send a chat message using the LinkedIn management API.
    Parameters:

    • user (required): Recipient user URN (with prefix).
    • text (required): Message text.
    • timeout (optional, default: 300).
  9. Send LinkedIn Connection Request
    Name: send_linkedin_connection
    Description: Send a connection invitation to a LinkedIn user.
    Parameters:

    • user (required).
    • timeout (optional, default: 300).
  10. Send LinkedIn Post Comment
    Name: send_linkedin_post_comment
    Description: Create a comment on a LinkedIn post or reply.
    Parameters:

  • text (required): Comment text.
  • urn (required): Activity or comment URN.
  • timeout (optional, default: 300).
  1. Get LinkedIn User Connections
    Name: get_linkedin_user_connections
    Description: Retrieve a list of LinkedIn user connections.
    Parameters:

    • connected_after (optional): Timestamp filter.
    • count (optional, default: 20).
    • timeout (optional, default: 300).
  2. Get LinkedIn Post Reposts
    Name: get_linkedin_post_reposts
    Description: Retrieve reposts for a LinkedIn post.
    Parameters:

    • urn (required): Post URN (must start with activity:).
    • count (optional, default: 10).
    • timeout (optional, default: 300).
  3. Get LinkedIn Post Comments
    Name: get_linkedin_post_comments
    Description: Retrieve comments for a LinkedIn post.
    Parameters:

    • urn (required).
    • sort (optional, default: "relevance"; allowed values: "relevance", "recent").
    • count (optional, default: 10).
    • timeout (optional, default: 300).
  4. Get LinkedIn Post Reactions
    Name: get_linkedin_post_reactions
    Description: Retrieve reactions for a LinkedIn post.
    Parameters:

    • urn (required): Post URN (must start with activity:).
    • count (optional, default: 50).
    • timeout (optional, default: 300).
  5. Get LinkedIn Google Company
    Name: get_linkedin_google_company
    Description: Search for LinkedIn companies via Google – the first result is typically the best match.
    Parameters:

    • keywords (required): Array of company keywords.
    • with_urn (optional, default: false).
    • count_per_keyword (optional, default: 1; range 1–10).
    • timeout (optional, default: 300).
  6. Get LinkedIn Company
    Name: get_linkedin_company
    Description: Retrieve detailed information about a LinkedIn company.
    Parameters:

    • company (required): Company alias, URL, or URN.
    • timeout (optional, default: 300).
  7. Get LinkedIn Company Employees
    Name: get_linkedin_company_employees
    Description: Retrieve employees of a LinkedIn company.
    Parameters:

    • companies (required): Array of company URNs.
    • keywords, first_name, last_name (optional).
    • count (optional, default: 10).
    • timeout (optional, default: 300).
  8. Search Reddit Posts
    Name: search_reddit_posts
    Description: Search for Reddit posts with various filters.
    Parameters:

    • query (required): Main search query.
    • sort (optional, default: "relevance"; allowed values: "relevance", "hot", "top", "new", "comments").
    • time_filter (optional, default: "all"; allowed values: "all", "year", "month", "week", "day", "hour").
    • count (required): Max result count.
    • timeout (optional, default: 300).
  9. Get Instagram User
    Name: get_instagram_user
    Description: Get Instagram user information by URL, alias or ID.
    Parameters:

    • user (required): User ID, alias or URL.
    • timeout (optional, default: 300): Timeout in seconds (20-1500).
  10. Get Instagram User Posts
    Name: get_instagram_user_posts
    Description: Get Instagram user posts.
    Parameters:

    • user (required): User ID, alias or URL.
    • count (required): Max result count.
    • timeout (optional, default: 300): Timeout in seconds (20-1500).
  11. Get Instagram Post Comments Name: get_instagram_post_comments Description: Get Instagram post comments. Parameters:

    • post (required): Post ID.
    • count (required): Max result count.
    • timeout (optional, default: 300): Timeout in seconds (20-1500).
  12. Get LinkedIn Company Posts Name: get_linkedin_company_posts Description: Get LinkedIn posts for a company by URN. Parameters:

    • urn (required): Company URN (example: company:11130470).
    • count (optional, default: 10): Max posts to return.
    • timeout (optional, default: 300): Timeout in seconds.

Setup Guide

Installing via Smithery

To install AnySite MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @anysite/mcp --client claude

1. Clone the Repository (macOS)

Open your terminal and run the following commands:

# Clone the repository
git clone https://github.com/anysite/anysite-mcp-server.git

# Change directory to the project folder
cd anysite-mcp-server

# Install dependencies
npm install

2. Obtain Your API Credentials

Register at app.anysite.io to get your API key and 100 free credits. You will receive your ANYSITE_ACCESS_TOKEN and ANYSITE_ACCOUNT_ID.


3. Configure the Environment

Create a .env file in the root of your project with the following content:

ANYSITE_ACCESS_TOKEN=YOUR_ANYSITE_ACCESS_TOKEN
ANYSITE_ACCOUNT_ID=YOUR_ANYSITE_ACCOUNT_ID

4. Client Configuration

4.1 Claude Desktop

Update your Claude configuration file (claude_desktop_config.json) with the following content:

{
  "mcpServers": {
    "anysite": {
      "command": "npx",
      "args": ["-y","@anysite/mcp"],
      "env": {
        "ANYSITE_ACCESS_TOKEN": "YOUR_ANYSITE_ACCESS_TOKEN",
        "ANYSITE_ACCOUNT_ID": "YOUR_ANYSITE_ACCOUNT_ID"
      }
    }
  }
}

Configuration file location:

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

4.2 Cursor

Easy way: Open Cursor Settings and add a new MCP server with the command:

env ANYSITE_ACCESS_TOKEN=your-access-token ANYSITE_ACCOUNT_ID=your-account-id node /path/to/your/build/index.js

Safe way:
Copy the provided template run.template.sh to a new file (e.g. run.sh), update it with your credentials, and configure Cursor to run:

sh /path/to/your/run.sh

4.3 Windsurf

Update your Windsurf configuration file (mcp_config.json) with the following content:

{
  "mcpServers": {
    "anysite": {
      "command": "npx",
      "args": ["-y","@anysite/mcp"],
      "env": {
        "ANYSITE_ACCESS_TOKEN": "YOUR_ANYSITE_ACCESS_TOKEN",
        "ANYSITE_ACCOUNT_ID": "YOUR_ANYSITE_ACCOUNT_ID"
      }
    }
  }
}

Note: After configuration, you can disable official web tools to conserve your API credits.


MCP Client Example Configuration

Below is an example configuration for an MCP client (e.g., a custom integration):

{
  "mcpServers": {
    "anysite": {
      "command": "npx",
      "args": ["-y","@anysite/mcp"],
      "env": {
        "ANYSITE_ACCESS_TOKEN": "YOUR_ANYSITE_ACCESS_TOKEN",
        "ANYSITE_ACCOUNT_ID": "YOUR_ANYSITE_ACCOUNT_ID"
      }
    }
  }
}

Replace the paths and credentials with your own values.

License

This project is licensed under the MIT License.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured