Skip to main content

A Model Context Protocol (MCP) server for deep social media search (SearXNG, Serper, Google).

Project description

Social Search MCP Server

A Model Context Protocol (MCP) server that empowers LLMs to search across specific social media platforms using the industry's best search engines.

Overview

This server provides a search_social tool that accepts a query and an optional list of platforms (facebook, reddit, linkedin, etc.). It filters results exclusively to those domains and returns them directly to the LLM context.

Search Providers

You can configure the backend by setting the SEARCH_PROVIDER environment variable. By default, it uses SearXNG since it is free and open-source.

1. SearXNG (Default)

SearXNG is a free, open-source internet metasearch engine.

  • SEARCH_PROVIDER=searxng
  • SEARXNG_URL=http://localhost:8080 (Defaults to localhost, specify a remote public instance if you don't host your own, but note that public instances often limit automated JSON requests).

2. Serper.dev

A powerful Google Search wrapper API. Highly recommended for accurate results.

  • SEARCH_PROVIDER=serper
  • SERPER_API_KEY=your_key (Get one from Serper.dev)

3. Google Custom Search

The official Google Custom Search API.

  • SEARCH_PROVIDER=google
  • GOOGLE_API_KEY=your_key
  • GOOGLE_CX=your_cx_engine_id

Setup

Ensure you have Python 3.10+ installed.

# Clone or place in a directory, then:
python -m venv venv
source venv/bin/activate
pip install -e .

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "social-search-mcp": {
      "command": "/ABSOLUTE/PATH/TO/venv/bin/social-search-mcp",
      "args": [],
      "env": {
        "SEARCH_PROVIDER": "searxng",
        "SEARXNG_URL": "http://localhost:8080"
      }
    }
  }
}

Replace /ABSOLUTE/PATH/TO/ with the actual path to this folder. Restart Claude Desktop after updating the config.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

social_search_mcp-0.1.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

social_search_mcp-0.1.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file social_search_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: social_search_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for social_search_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6d66de036d3f9ec88f1aff5709f4fbef7ae194ad96fb1c18e5b9694794865d33
MD5 8718f1b4681e71508030a21c810f2fb4
BLAKE2b-256 d2e43f6023b27c2ba4e84b98905a756c80b1fb2c4689eb401ec1364fe10963eb

See more details on using hashes here.

File details

Details for the file social_search_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for social_search_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eebfad477f9d2227fd5c4c3a545d67861ea6e4fe23f6a8504e3233bcbc99ef32
MD5 de214b46fe01c2d652840b2c0fb338a0
BLAKE2b-256 af4731db994921ffc21c3c691d2b62b4a1794ce7d616c8da94e2513d44bca115

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page