Best for: building Valyu into your product / agents. Add Valyu search tools to agents built on the Claude Agent SDK. This is a community-maintained integration by GhouI - for official integrations, see Vercel AI SDK or the Valyu API directly.
Paste into your AI assistant to wire Valyu search tools into a Claude Agent SDK project.
- Web Search: Real-time information, news, and current events
- Finance Search: Stock prices, earnings reports, SEC filings, and financial metrics
- Paper Search: Academic research from arXiv and scholarly databases
- Bio Search: Biomedical literature, PubMed articles, and clinical trials
- Patent Search: Patent databases and prior art research
- SEC Search: Regulatory documents (10-K, 10-Q, 8-K filings)
- Economics Search: Labor statistics, Federal Reserve data, World Bank indicators
- Company Research: Comprehensive intelligence reports with synthesized data
Installation
Clone the community-maintained repository and install dependencies:The
--legacy-peer-deps flag is required due to Zod version compatibility requirements..env file:
Free Credits
Get your API key with $10 free credits ($20 with a work email) from the Valyu Platform.
Basic Usage
Web Search Example
Search for real-time information, news, and current events:allowedTools, register it under mcpServers. Route each query to the most specific tool.
Available tools
| Tool | Server import | allowedTools id |
|---|---|---|
| Web | valyuWebSearchServer | mcp__valyu-web-search__web_search |
| Finance | valyuFinanceSearchServer | mcp__valyu-finance-search__finance_search |
| Paper | valyuPaperSearchServer | mcp__valyu-paper-search__paper_search |
| Bio | valyuBioSearchServer | mcp__valyu-bio-search__bio_search |
| Patent | valyuPatentSearchServer | mcp__valyu-patent-search__patent_search |
| SEC | valyuSecSearchServer | mcp__valyu-sec-search__sec_search |
| Economics | valyuEconomicsSearchServer | mcp__valyu-economics-search__economics_search |
| Company research | valyuCompanyResearchServer | mcp__valyu-company-research__company_research |
Combine multiple tools
Register several servers so the agent can choose between them:Custom search parameters
Custom search parameters
createBioSearchServer() (and the equivalents for other tools) accept:searchType-"proprietary"or"web"(default"proprietary")maxNumResults- default 10includedSources- e.g.["pubmed", "clinicaltrials.gov"]maxPrice- max cost per query, CPM (default 30.0)relevanceThreshold- 0.0-1.0 (default 0.5)category- focus area, e.g."biomedical"
Additional Resources
GitHub Repository
Community-maintained Claude Agent SDK integration source code
API Reference
Complete Valyu API documentation
Claude Agent SDK
Official Anthropic Claude Agent SDK
Get API Key
Sign up for $10 free credits ($20 with a work email)
Support
This is a community-maintained integration. For issues or contributions:- GitHub Issues: Report issues or request features

