llama-index-tools-scavio
Scavio real-time search tools for LlamaIndex — Google, Google News, Reddit, YouTube, and Amazon as clean Documents, with one API key. A drop-in Tavily alternative and SerpAPI alternative for LlamaIndex RAG pipelines and agents.
Install
pip install llama-index-tools-scavio
Setup
Get a Scavio API key from the Scavio Dashboard (new accounts get 50 free signup credits, one-time, no credit card). Set SCAVIO_API_KEY or pass api_key= to the tool spec.
Usage
from llama_index.tools.scavio import ScavioToolSpec
tool_spec = ScavioToolSpec() # reads SCAVIO_API_KEY
# Direct call — returns a list of llama_index Document objects
docs = tool_spec.search("best real-time search API for AI agents", max_results=5)
for doc in docs:
print(doc.text, doc.metadata["url"])
Hand the tools to an agent:
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
agent = FunctionAgent(
tools=ScavioToolSpec().to_tool_list(),
llm=OpenAI(model="gpt-5.5"),
system_prompt="You are a research assistant. Use Scavio for fresh web data.",
)
response = await agent.run("What are people on Reddit saying about Tavily alternatives?")
Scope: 8 endpoints, by design
ScavioToolSpec is a curated subset of the Scavio API, not a wrapper around all of it. It exposes 8 of Scavio's 98 endpoints across 4 of its 10 platforms — the ones that map cleanly onto RAG Documents (every function returns List[Document]):
| Tool | Endpoint | Platform | What it does | Credits |
|---|---|---|---|---|
search |
POST /api/v2/google |
Real-time organic web results | 1 | |
news |
POST /api/v2/google/news |
Recent articles on a topic | 1 | |
reddit_search |
POST /api/v1/reddit/search |
Community discussion and sentiment | 1 | |
youtube_search |
POST /api/v1/youtube/search |
YouTube | Videos, channels, playlists | 2 |
youtube_video |
POST /api/v1/youtube/video |
YouTube | Full details for one video | 1 |
youtube_transcript |
POST /api/v1/youtube/transcript |
YouTube | Transcript or timed subtitles | 8 |
youtube_comments |
POST /api/v1/youtube/comments |
YouTube | Top-level comments on a video | 1 |
amazon_search |
POST /api/v1/amazon/search |
Amazon | Product listings | 1 |
Platforms covered here: Google (2), YouTube (4), Reddit (1), Amazon (1). Not covered: Walmart, TikTok, TikTok Shop, Instagram, X, LinkedIn, and the other 10 Google v2 verticals (Maps, Shopping, Flights, Hotels, Trends, AI Mode, ...). That is deliberate — this is a document-retrieval tool spec, not an API client — and it stays that way.
Reaching the rest of the API
For full coverage — all 98 endpoints across Google, YouTube, Amazon, Walmart, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn — point a LlamaIndex agent at the hosted MCP server at https://mcp.scavio.dev/mcp, which exposes 100 tools (one per endpoint) with no install required:
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
scavio_mcp = McpToolSpec(
client=BasicMCPClient(
"https://mcp.scavio.dev/mcp",
headers={"x-api-key": "sk_live_..."},
)
)
tools = await scavio_mcp.to_tool_list_async()
See the MCP docs. Or call the scavio SDK directly — it is already a dependency here — and wrap whichever endpoints you need.
Scavio vs Tavily vs SerpAPI
These rows compare the APIs, not this tool spec. Rows marked below the table are the ones ScavioToolSpec itself exposes; the rest are reachable via MCP or the scavio SDK.
| Scavio | Tavily | SerpAPI | |
|---|---|---|---|
| Google SERP | Yes | No (web search only) | Yes |
| Google News | Yes | No | Yes |
| Yes | No | No | |
| YouTube | Yes | No | Yes |
| Amazon / Walmart | Yes | No | Yes (add-on) |
| TikTok / TikTok Shop / Instagram | Yes | No | No |
| X / LinkedIn | Yes | No | No |
| Hosted MCP server | Yes | Yes | No |
| LlamaIndex tool | Yes | Yes | Yes |
In ScavioToolSpec: Google SERP, Google News, Reddit, YouTube, Amazon search. Everything else in the Scavio column comes from MCP or the SDK.
Migrating from Tavily
- from llama_index.tools.tavily_research import TavilyToolSpec
- tool_spec = TavilyToolSpec(api_key="tvly-...")
+ from llama_index.tools.scavio import ScavioToolSpec
+ tool_spec = ScavioToolSpec(api_key="sk_live_...")
docs = tool_spec.search("your query")
Credits
This package is not flat 1 credit. Six of the eight tools cost 1, but youtube_search costs 2 and youtube_transcript costs 8 — budget for it if you are bulk-ingesting transcripts into an index.
| Tool | Credits |
|---|---|
search, news, reddit_search, youtube_video, youtube_comments, amazon_search |
1 |
youtube_search |
2 |
youtube_transcript |
8 |
Elsewhere in the API (not exposed here): YouTube streams 3, Instagram 2-10, LinkedIn 1-10 with a job at 30, everything else 1. New accounts get 50 one-time signup credits — no monthly refill. See scavio.dev/docs.
About Scavio
Scavio is a real-time search API built for AI agents — a unified API over Google, YouTube, Amazon, Walmart, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn that returns clean JSON. It is a cost-effective Tavily alternative and SerpAPI alternative with broader platform coverage. Learn more in the LlamaIndex integration docs.
Links
- Scavio: https://scavio.dev
- Docs: https://scavio.dev/docs/llamaindex
- Dashboard: https://dashboard.scavio.dev
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_tools_scavio-0.1.2.tar.gz.
File metadata
- Download URL: llama_index_tools_scavio-0.1.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1650052851e7a73a2a118a0a5c9cd58e0228ff2b6457f3b74c0a8dfe32eff6bb
|
|
| MD5 |
7469e705f796405e0e4f39a35d02b99f
|
|
| BLAKE2b-256 |
7af8747aad7cab349b7b9105469a7afe0c30de7d8e9bf349dcbf13fac92fc2f0
|
File details
Details for the file llama_index_tools_scavio-0.1.2-py3-none-any.whl.
File metadata
- Download URL: llama_index_tools_scavio-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
817dfe67529aeefc874badaacf5931c5f80a2dfd32a2b67d0099cb93c148d756
|
|
| MD5 |
402cadc29bf5a71b94b7c08f5759e856
|
|
| BLAKE2b-256 |
20cfdd991d70ce51ef6bfd7bfc78bfcd608bd390ab7ef67470d4f60225dc739a
|