X.com Interact via Tavily
Tavily is configured as an MCP server and provides the interface for X.com content through search indexing.
Prerequisites
- - Tavily API key — free at tavily.io
- mcporter — OpenClaw skill for MCP tool calling
Setup Tavily MCP
CODEBLOCK0
Core Operations
Search X.com
CODEBLOCK1
Extract Content from Linked URLs
CODEBLOCK2
Deep Research on a Topic
CODEBLOCK3
Notes
- - X.com blocks direct extraction (403). Use
tavily_search to find tweet content via search index, or ask Z to paste tweet text. - Tavily search indexes X.com profiles, tweet URLs, and threads.
- Combine Tavily search for finding tweets + Tavily extract for diving into linked articles.
- Rate limit: 20 requests/minute on Tavily free tier.
Example Workflow
- 1. Find tweets: INLINECODE1
- Get thread context: INLINECODE2
- Extract linked article: INLINECODE3
Rate Limits
- - Tavily free tier: 20 requests/minute, 1000 requests/month
- No rate limits on GeckoTerminal/DeFiLlama when used alongside
通过Tavily与X.com交互
Tavily被配置为MCP服务器,通过搜索索引提供X.com内容的接口。
前置条件
- - Tavily API密钥 — 免费获取于 tavily.io
- mcporter — 用于MCP工具调用的OpenClaw技能
配置Tavily MCP
bash
mcporter config add tavily https://mcp.tavily.com/mcp/?tavilyApiKey=<你的密钥>
核心操作
搜索X.com
bash
搜索用户的推文
mcporter call tavily.tavily
search query=from:用户名 关键词 maxresults=5
按关键词搜索推文
mcporter call tavily.tavily
search query=关键词 site:x.com maxresults=10
搜索特定推文或讨论串
mcporter call tavily.tavily
search query=site:x.com 用户名 推文 上下文 maxresults=3
提取链接内容
bash
提取推文中链接的新闻文章或博客内容
mcporter call tavily.tavily_extract urls=[https://example.com/article]
深度研究主题
bash
使用Tavily进行完整研究(搜索+提取结合)
mcporter call tavily.tavily
research query=主题名称 searchdepth=basic max_results=5
注意事项
- - X.com阻止直接提取(返回403错误)。请使用tavily_search通过搜索索引查找推文内容,或让Z粘贴推文文本。
- Tavily搜索索引覆盖X.com个人资料、推文URL和讨论串。
- 结合使用Tavily搜索查找推文 + Tavily提取深入查看链接文章。
- 速率限制:Tavily免费版每分钟20次请求。
示例工作流程
- 1. 查找推文: mcporter call tavily.tavilysearch query=from:vitalikbuterin ethereum maxresults=5
- 获取讨论串上下文: mcporter call tavily.tavilysearch query=site:x.com vitalikbuterin tweetthread maxresults=3
- 提取链接文章: mcporter call tavily.tavilyextract urls=[https://example.com/linked-article]
速率限制
- - Tavily免费版:每分钟20次请求,每月1000次请求
- 同时使用GeckoTerminal/DeFiLlama时无速率限制