The Farcaster MCP Server enables interaction with the Farcaster network by allowing you to:
Retrieve casts from a specific Farcaster user by their FID (Farcaster ID)
Retrieve casts from a specific Farcaster user by their username
Retrieve casts from a specific Farcaster channel by its name or URL
Allows to fetch casts (posts) from users and channels on the Farcaster network, search channels, and analyze content.
Farcaster MCP Server
An MCP server that provides tools to interact with the Farcaster network (farcaster.xyz), allowing AI models to fetch casts, search channels, and analyze content.
Features
Get User Casts: Retrieve casts from a specific Farcaster user by FID
Get Username Casts: Retrieve casts from a specific Farcaster user by username
Get Channel Casts: Retrieve casts from a specific Farcaster channel
Related MCP server: Jira MCP Server
Installation
Usage
Running the server
Using with MCP Inspector
Using with Claude for Desktop
Install Claude for Desktop
Open your Claude for Desktop App configuration at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
Restart Claude for Desktop
Using with Smithery
This project includes Smithery configuration files for easy deployment:
Available client options: claude, cline, windsurf, roo-cline, witsy, enconvo
Available Tools
get-user-casts
Retrieves casts from a specific Farcaster user by their FID (Farcaster ID).
Parameters:
fid: Farcaster user ID (number)limit(optional): Maximum number of casts to return (default: 10)
Example query: "Show me the latest casts from FID 6846."
get-username-casts
Retrieves casts from a specific Farcaster user by their username.
Parameters:
username: Farcaster username (string)limit(optional): Maximum number of casts to return (default: 10)
Example query: "Show me the latest casts from username 'mani'."
get-channel-casts
Retrieves casts from a specific Farcaster channel.
Parameters:
channel: Channel name or URL (string)limit(optional): Maximum number of casts to return (default: 10)
Example query: "Show me the latest casts from the 'aichannel' channel."
Smithery Configuration
This repository includes the necessary configuration files for Smithery:
smithery.yaml: YAML configuration for Smithery deploymentsmithery.json: JSON configuration for Smithery capabilitiesDockerfile: Container configuration for Smithery deployment
API Details
This implementation uses the Farcaster Hubble API to fetch data.
Development
License
MIT