Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIFY_TOKENYesApify API token for scraping
OPENAI_API_KEYNoOpenAI API key for timeline embeddings (semantic search)
SOCIAL_RESEARCH_PORTNoHTTP port3847
SOCIAL_RESEARCH_DATA_DIRNoData directory~/.social-research-mcp/data/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
scrape_twitter

Scrape tweets from Twitter/X. Search by query, hashtag, or user timeline. Results are saved to the local timeline database for later analysis.

scrape_instagram

Scrape posts from Instagram. Search by URL, hashtag, or keyword. Results are saved to the local timeline database.

scrape_tiktok

Scrape videos from TikTok. Search by profile, hashtag, or keyword. Results are saved to the local timeline database.

scrape_youtube

Scrape videos from YouTube. Search by keyword or channel URL. Results are saved to the local timeline database.

scrape_linkedin

Scrape posts from LinkedIn. Search by profile URL, company URL, or keyword. Results are saved to the local timeline database.

scrape_facebook

Scrape posts from Facebook pages. Search by page URL or keyword. Results are saved to the local timeline database.

scrape_reddit

Scrape posts from Reddit. Search by subreddit, keyword, or direct URL. Results are saved to the local timeline database.

timeline_search

Semantic search across your timeline database. Uses AI embeddings to find posts by meaning, not just keywords. Requires OPENAI_API_KEY.

timeline_query

Structured query against the timeline database. Filter by platform, date, engagement, author, or hashtags — no AI needed.

timeline_trends

Detect trending topics across your stored timeline data. Identifies spikes in hashtag/keyword frequency and sentiment shifts.

timeline_stats

Get aggregate statistics from your timeline: total posts by platform, avg engagement, most active authors, top hashtags.

analyze_profile

Analyze a social media profile: scrape recent posts and compute engagement rate, posting frequency, content themes, peak hours, and sentiment.

analyze_sentiment

Run sentiment analysis on posts. Provide a query to search timeline data, or pass texts directly. Returns positive/negative/neutral breakdown.

compare

Compare 2+ profiles, hashtags, or topics side-by-side across engagement, sentiment, and volume metrics.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TerminalGravity/social-research-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server