MCP
Add powerful context retrieval capabilities to Claude using the Valyu MCP Server
Get $10 free credits to test the Valyu API when you sign up at Valyu Exchange!
Overview
The Valyu MCP Server is a Model Context Protocol (MCP) tool that enables AI models to retrieve high-quality context from Valyu’s API. It provides comprehensive search capabilities across:
- Wikipedia
- arXiv
- Web search
Prerequisites
Before you begin, ensure you have:
- Python 3.10 or higher
- Claude Desktop (latest version)
- Valyu API Key
Verify your Python version:
Quick Start
1. Clone and Setup
First, clone the repository and set up your environment:
Create and activate a virtual environment:
Install dependencies:
2. Configure Environment
Create a .env
file with your API key:
3. Set Up Claude Configuration
Open the config file:
Add the Valyu MCP server configuration:
Replace the paths with absolute paths to your Python virtual environment and the script location.
Testing Your Setup
Once Claude Desktop restarts, you can confirm if your server is working properly:
-
Look for the Tools Icon
A hammer icon (tools) should appear in the Claude Desktop interface when your MCP server is running successfully.
-
Inspect Available Tools
Click the hammer icon to see the list of available tools. You should see
valyu-mcp
listed among the tools.
-
Try Example Queries
Test the MCP server with queries that would benefit from Valyu’s context retrieval. For example:
“What are the latest advancements in topological quantum computing”
“Find recent research papers about agentic retrievel-augmented generation.”
“Explain the concept of volatility clustering in financial markets.”
Claude will indicate it’s “Making a tool request: valyu-mcp” and then fetch context from the Valyu API.
Monitoring Logs
For debugging or troubleshooting, you can view the server logs:
You can also access logs through Claude Desktop → Settings → Developer → Open Logs Folder. Failed MCP servers will have dedicated log files with complete error traces.
Troubleshooting
Additional Resources
Valyu Exchange
Get your API key and free credits
Documentation
Explore the full Valyu API documentation
Blog
Read about our latest updates
GitHub
View source code and contribute
Contributing
We welcome contributions! Feel free to:
- Open issues for bug reports
- Submit feature requests
- Create pull requests
License
This project is licensed under the MIT License.
Visit valyu.network to learn more about what we’re building at Valyu.