Beyond Social (Farcaster) MCP server

Integrates with social platforms like Farcaster to provide standardized access to user profiles, content search, thread analysis, and trending topics through flexible stdio and HTTP/SSE transports.
Back to servers
Setup instructions
Provider
Beyond Network AI
Release date
Mar 13, 2025
Language
TypeScript
Stats
12 stars

Beyond MCP Server is an extensible Model Context Protocol server that provides standardized access to social platform data, including Farcaster (via Neynar API) with plans for additional platforms. It implements the MCP specification, allowing AI assistants to access and format social media content efficiently.

Installation

Prerequisites

Setup Steps

  1. Clone the repository
git clone https://github.com/yourusername/beyond-mcp-server.git
cd beyond-mcp-server
  1. Install dependencies
npm install
  1. Create a .env file from the template
cp .env.example .env
# Edit .env with your API keys
  1. Configure environment variables

    • Required: Set NEYNAR_API_KEY in your .env file
    • Without a valid API key, Farcaster functionality will not work
  2. Build and start the server

npm run build
npm start  # For stdio mode (default)
# OR
npm run start:http  # For HTTP/SSE mode

Using with Claude for Desktop

  1. Build the server
npm run build
  1. Configure your .env file with API keys

    • The server looks for .env in the current working directory, project root, or parent directories (up to 3 levels)
  2. Add the server to your Claude Desktop configuration:

For macOS:

~/Library/Application Support/Claude/claude_desktop_config.json

For Windows:

%APPDATA%\Claude\claude_desktop_config.json
  1. Update the configuration file:
{
  "mcpServers": {
    "beyond-social": {
      "command": "/usr/local/bin/node",
      "args": [
        "/full/path/to/beyond-mcp-server/dist/index.js",
        "--stdio"
      ]
    }
  }
}
  1. Alternatively, pass API keys directly in the configuration (recommended):
{
  "mcpServers": {
    "beyond-social": {
      "command": "/usr/local/bin/node",
      "args": [
        "/full/path/to/beyond-mcp-server/dist/index.js",
        "--stdio"
      ],
      "env": {
        "NEYNAR_API_KEY": "YOUR_API_KEY_HERE",
        "ENABLE_FARCASTER": "true",
        "ENABLE_TWITTER": "false"
      }
    }
  }
}
  1. Restart Claude for Desktop

Available Capabilities

Resources

The server supports these MCP resource URLs:

  • social://{platform}/{query}/search - Search content on a platform
  • social://{platform}/user/{userId}/profile - Get user profile
  • social://{platform}/wallet/{walletAddress}/profile - Get user profile by wallet address (Farcaster only)
  • social://{platform}/user/{userId}/balance - Get user's wallet balance
  • social://{platform}/user/{userId}/content - Get user content
  • social://{platform}/thread/{threadId} - Get conversation thread
  • social://{platform}/trending - Get trending topics
  • social://{platform}/trending-feed - Get trending feed content
  • social://{platform}/channels/search - Search for channels
  • social://{platform}/channels/bulk-search - Search for multiple channels in parallel

Tools

The server provides these MCP tools:

  • search-content - Search for content
  • get-user-profile - Get a user's profile information
  • get-user-profile-by-wallet - Get user profile using wallet address
  • get-user-balance - Get user's wallet balance
  • get-user-content - Get content from a specific user
  • get-thread - Get a conversation thread
  • get-trending-topics - Get current trending topics
  • getTrendingFeed - Get trending feed with multi-provider support
  • get-wallet-profile - Get profile based on wallet address
  • search-channels - Search for channels
  • search-bulk-channels - Search for multiple channels in parallel

Prompts

The server includes these MCP prompts:

  • analyze-thread - Analyze a social media thread
  • summarize-user-activity - Summarize a user's activity
  • explore-trending-topics - Explore trending topics
  • analyze-search-results - Analyze search results
  • explore-trending-feed - Analyze trending feed content
  • get-wallet-profile - Get and analyze user profile by wallet address
  • check-user-balance - Analyze user's wallet balance and holdings
  • explore-channels - Analyze and explore channels
  • explore-bulk-channels - Analyze and compare multiple channels

Supported Platforms

Currently, the server supports:

  • Farcaster: Full implementation via Neynar API
  • Twitter: Placeholder (not implemented)

Additional platforms are planned to be added in future releases.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "beyond-social" '{"command":"/usr/local/bin/node","args":["/full/path/to/beyond-mcp-server/dist/index.js","--stdio"],"env":{"NEYNAR_API_KEY":"YOUR_API_KEY_HERE","ENABLE_FARCASTER":"true","ENABLE_TWITTER":"false"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "beyond-social": {
            "command": "/usr/local/bin/node",
            "args": [
                "/full/path/to/beyond-mcp-server/dist/index.js",
                "--stdio"
            ],
            "env": {
                "NEYNAR_API_KEY": "YOUR_API_KEY_HERE",
                "ENABLE_FARCASTER": "true",
                "ENABLE_TWITTER": "false"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

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

2. Add this to your configuration file:

{
    "mcpServers": {
        "beyond-social": {
            "command": "/usr/local/bin/node",
            "args": [
                "/full/path/to/beyond-mcp-server/dist/index.js",
                "--stdio"
            ],
            "env": {
                "NEYNAR_API_KEY": "YOUR_API_KEY_HERE",
                "ENABLE_FARCASTER": "true",
                "ENABLE_TWITTER": "false"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later