Community Archive MCP Server
A remote MCP (Model Context Protocol) server that allows Claude to query the Community Archive - a preserved Twitter data archive.
Features
- search_tweets - Search tweets across all archived users by keyword
- get_user_profile - Get profile info for a specific username
- get_user_tweets - Get tweets from a specific user
- list_archived_users - List all users in the archive
Setup
Prerequisites
- Bun runtime
- Cloudflare account
- Community Archive Supabase API key
Installation
bun install
Configuration
- Set your Supabase API key as a secret:
bunx wrangler secret put SUPABASE_KEY
- (Optional) Update
wrangler.tomlif using a different Supabase instance
Local Development
bunx wrangler dev
The server will be available at http://localhost:8787
Deploy
bunx wrangler deploy
After deployment, your MCP server will be available at:
https://community-archive-mcp.<your-subdomain>.workers.dev
Connecting to Claude
Claude Web / Claude Desktop
- Go to Settings > MCP Servers
- Add a new remote server with URL:
https://community-archive-mcp.<your-subdomain>.workers.dev/sse
Endpoints
/- Server info and available tools/sse- SSE transport endpoint (for Claude Web)/mcp- Streamable HTTP endpoint
Example Usage
Once connected, you can ask Claude things like:
- "Search for tweets about 'machine learning'"
- "Show me the profile for @username"
- "Get the last 20 tweets from username"
- "List all users in the Community Archive"
License
MIT