farcaster
FreeNo executable scriptsNot checkedPost, read, search, and engage on Farcaster via the Neynar API. Use when an agent needs to post casts, read feeds, search casts, look up users, like/recast…
by jiayaoqijia★ 81 GitHub starsAbout this skill
Farcaster
Interact with Farcaster — the decentralized social protocol — via the Neynar v2 REST API.
Setup
export NEYNAR_API_KEY="your-api-key" # required for all ops
export NEYNAR_SIGNER_UUID="your-signer-uuid" # required for write ops
Get API key at https://neynar.com
API
Base: https://api.neynar.com/v2/farcaster
Read Operations (Free tier)
User's casts by FID:
web_fetch url="https://api.neynar.com/v2/farcaster/feed/user/3?limit=10" headers="api_key: NEYNAR_API_KEY"
User lookup by username:
web_fetch url="https://api.neynar.com/v2/farcaster/user/by_username?username=vitalik" headers="api_key: NEYNAR_API_KEY"
User lookup by FID:
web_fetch url="https://api.neynar.com/v2/farcaster/user/bulk?fids=3" headers="api_key: NEYNAR_API_KEY"
Cast thread/replies:
web_fetch url="https://api.neynar.com/v2/farcaster/cast/conversation?identifier=0xHASH&type=hash" headers="api_key: NEYNAR_API_KEY"
Write Operations (Require signer)
Post a cast:
exec command="curl -s -X POST 'https://api.neynar.com/v2/farcaster/cast' -H 'api_key: NEYNAR_API_KEY' -H 'Content-Type: application/json' -d '{\"signer_uuid\":\"SIGNER_UUID\",\"text\":\"Hello Farcaster!\"}'"
Post to a channel:
exec command="curl -s -X POST 'https://api.neynar.com/v2/farcaster/cast' -H 'api_key: NEYNAR_API_KEY' -H 'Content-Type: application/json' -d '{\"signer_uuid\":\"SIGNER_UUID\",\"text\":\"gm\",\"channel_id\":\"base\"}'"
Reply to a cast:
exec command="curl -s -X POST 'https://api.neynar.com/v2/farcaster/cast' -H 'api_key: NEYNAR_API_KEY' -H 'Content-Type: application/json' -d '{\"signer_uuid\":\"SIGNER_UUID\",\"text\":\"Great point!\",\"parent\":\"0xHASH\"}'"
Like a cast:
exec command="curl -s -X POST 'https://api.neynar.com/v2/farcaster/reaction' -H 'api_key: NEYNAR_API_KEY' -H 'Content-Type: application/json' -d '{\"signer_uuid\":\"SIGNER_UUID\",\"reaction_type\":\"like\",\"target\":\"0xHASH\"}'"
Search (Paid tier)
Search casts by keyword:
web_fetch url="https://api.neynar.com/v2/farcaster/cast/search?q=ethereum&limit=10" headers="api_key: NEYNAR_API_KEY"
Search channels:
web_fetch url="https://api.neynar.com/v2/farcaster/channel/search?q=defi" headers="api_key: NEYNAR_API_KEY"
Free vs Paid
| Feature | Free |
|---|---|
| Post cast | Yes |
| User lookup | Yes |
| User feed | Yes |
| Like/recast | Yes |
| Following feed | Yes |
| Cast search | Paid |
| Channel feed | Paid |
| Channel search | Paid |
Rate limit: 300 req/min (free tier)
Use Cases
- Agent social presence: post updates, market alerts, DeFi insights to Farcaster
- Community monitoring: track mentions, replies, and channel activity
- Social signals: correlate social engagement with token performance
- Agent-to-agent: coordinate with other agents via Farcaster channels
Install farcaster in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the farcaster skill do?
Post, read, search, and engage on Farcaster via the Neynar API. Use when an agent needs to post casts, read feeds, search casts, look up users, like/recast, or interact with channels. Activate for any Farcaster social media interaction or Web3 social protocol query.
How do I install the farcaster skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the farcaster skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic