Beyond MCP Server
An extensible Model Context Protocol server that provides standardized access to social platform data (currently Farcaster) and onchain data for LLMs.
Beyond-Network-AI
Tools
search-content
get-user-profile
get-user-content
get-thread
get-trending-topics
README
Beyond MCP Server
An extensible Model Context Protocol server that provides standardized access to social platform data and onchain data. Currently supports Farcaster (via Neynar API) with placeholder for Twitter integration. More platforms like Telegram including onchain data will be added soon.
Features
- MCP Compliant: Fully implements the Model Context Protocol specification
- Multi-Platform: Designed to support multiple social media platforms
- Extensible: Easy to add new platform providers
- Well-Formatted: Optimized context formatting for LLM consumption
- Flexible Transport: Supports both stdio and SSE/HTTP transports
Supported Platforms
- Farcaster: Full implementation via Neynar API
- Twitter: Placeholder (not implemented)
Getting Started
Prerequisites
- Node.js 16+
- Neynar API key (for Farcaster access) https://neynar.com/
Installation
- Clone the repository
git clone https://github.com/yourusername/beyond-mcp-server.git
cd beyond-mcp-server
- Install dependencies
npm install
- Create a .env file from the template
cp .env.example .env
# Edit .env with your API keys
-
Configure your environment variables
- Required: Set
NEYNAR_API_KEY
in your .env file - You can obtain a Neynar API key from https://neynar.com/
- Without a valid API key, Farcaster functionality will not work
- Required: Set
-
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
- Build the server
npm run build
-
Make sure your .env file is properly configured with your API keys
- The server will look for .env in the following locations:
- Current working directory
- Project root directory
- Parent directories (up to 3 levels)
- You can also set environment variables directly in your system
- The server will look for .env in the following locations:
-
Add the server to your Claude Desktop configuration at:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"beyond-social": {
"command": "/usr/local/bin/node",
"args": [
"/full/path/to/beyond-mcp-server/dist/index.js",
"--stdio"
]
}
}
}
- Alternatively, you can pass the API key and other environment variables directly in the Claude Desktop 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"
}
}
}
}
- Restart Claude for Desktop
MCP Capabilities
Resources
social://{platform}/{query}/search
- Search content on a platformsocial://{platform}/user/{userId}/profile
- Get user profilesocial://{platform}/wallet/{walletAddress}/profile
- Get user profile by wallet address (Farcaster only)social://{platform}/user/{userId}/balance
- Get user's wallet balance (Farcaster only)- Accepts either FID (numeric) or username
- If username is provided, automatically converts to FID before fetching balance
social://{platform}/wallet/{walletAddress}/profile
- Get user profile by wallet addresssocial://{platform}/user/{userId}/content
- Get user contentsocial://{platform}/thread/{threadId}
- Get conversation threadsocial://{platform}/trending
- Get trending topicssocial://{platform}/trending-feed
- Get trending feed content with multi-provider support (Farcaster only)- Supports providers: neynar (default), openrank, mbd
- Parameters: timeWindow (1h, 6h, 12h, 24h, 7d, 30d), limit
social://{platform}/channels/search
- Search for channels on a platform (Farcaster only)- Parameters: query, limit, cursor
- Returns channel details including name, description, follower count, and metadata
social://{platform}/channels/bulk-search
- Search for multiple channels in parallel (Farcaster only)- Parameters: queries (array), limit, cursor
- Returns results for each query with channel details and pagination info
Tools
search-content
- Search for content on a social platformget-user-profile
- Get a user's profile informationget-user-profile-by-wallet
- Get user profile using wallet address (Farcaster only)get-user-balance
- Get user's wallet balance (Farcaster only)- Accepts either FID (numeric) or username
- Automatically handles username to FID conversion
get-user-content
- Get content from a specific userget-thread
- Get a conversation threadget-trending-topics
- Get current trending topicsgetTrendingFeed
- Get trending feed with multi-provider support (Farcaster only)get-wallet-profile
- Get profile based on wallet addresssearch-channels
- Search for channels on a platform (Farcaster only)- Parameters: query, limit, cursor
- Returns detailed channel information including follower count and metadata
search-bulk-channels
- Search for multiple channels in parallel (Farcaster only)- Parameters: queries (array), limit, cursor
- Returns results for each query with channel details and pagination info
Prompts
analyze-thread
- Analyze a social media threadsummarize-user-activity
- Summarize a user's activityexplore-trending-topics
- Explore trending topics on a platformanalyze-search-results
- Analyze search results for a queryexplore-trending-feed
- Analyze trending feed content across different providersget-wallet-profile
- Get and analyze user profile by wallet addresscheck-user-balance
- Analyze user's wallet balance and holdings- Works with both FID and username inputs
- Handles automatic FID resolution for usernames
explore-channels
- Analyze and explore channels on a platform- Provides insights about channel popularity and content
- Helps discover relevant channels based on search criteria
explore-bulk-channels
- Analyze and compare multiple channels in parallel- Efficiently searches and compares multiple channels
- Provides insights about channel relationships and trends
Extending with New Providers
To add a new social platform provider:
- Create a new directory in
src/providers/
- Implement the
ContentProvider
interface - Register the provider in the registry
Example:
import { ContentProvider } from '../interfaces/provider';
export class MyPlatformProvider implements ContentProvider {
public name = 'myplatform';
public platform = 'myplatform';
// Implement all required methods
}
Development
Running in Development Mode
npm run dev # stdio mode
npm run dev:http # HTTP mode
Testing
npm test
Linting
npm run lint
npm run lint:fix
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Changelog
All notable changes to this project will be documented in this file.
[1.0.0] - 2025-Mar-10
Added
- Initial release
- Farcaster integration via Neynar API
- MCP compliant server implementation
- Support for both stdio and HTTP modes
[1.0.1] - 2025-Mar-19
Added
- Added new tools and resource to fetch user profile with wallet address
- Added new tests
[1.0.2] - 2025-Mar-21
Added
- Added functionality to retrieve wallet balances of Farcaster users via ID or username
- Implemented multi-provider support for trending feed content
- Enhanced updateUserProfile with additional user details
- Added comprehensive tests to ensure reliability and performance
[1.0.3] - 2025-Mar-24
Added
- Add support to fetch Single and Bulk farcaster channel information
Recommended Servers
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.
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.
serper-search-scrape-mcp-server
This Serper MCP Server supports search and webpage scraping, and all the most recent parameters introduced by the Serper API, like location.
The Verge News MCP Server
Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.
Google Search Console MCP Server
A server that provides access to Google Search Console data through the Model Context Protocol, allowing users to retrieve and analyze search analytics data with customizable dimensions and reporting periods.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.