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.3.tar.gz (6.7 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.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: social_search_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 6.7 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.3.tar.gz
Algorithm Hash digest
SHA256 ac70bc104ceaf247d2fd04b97cdf305aa52709c87d9f3ab7e7deffe084a19d75
MD5 73fbbd1eb98c6ac000e0c6568c9f049e
BLAKE2b-256 efc6f0f6db1ede7705910751b13ea0d24c1d018910eb1fdb19aebee2f8678a53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for social_search_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ac229d30e90cdbde027b9fc183f3adeb645a641a94a1032afbe57d9c126dbfc2
MD5 d7531a6d7268eaca97be945d9e628d79
BLAKE2b-256 d1c4deaf404abb5895453327029a109ca5260c41b3929c55f64f5c93411f8e1f

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