valyu-mcp-js
Typescript implementation of MCP server for Valyu Network API (https://docs.valyu.network/api-reference)
Documentation
Valyu MCP Server
A Model Context Protocol server that provides access to Valyu's knowledge retrieval and feedback APIs. This server enables LLMs to search proprietary and web sources for information and submit feedback on transactions.
Available Tools
- `knowledge` - Search proprietary and/or web sources for information
- Required arguments:
- `query` (string): The question or topic to search for
- `search_type` (string): Type of sources to search ("proprietary", "web", or "all")
- `max_price` (number): Maximum allowed price per thousand queries (CPM)
- Optional arguments:
- `data_sources` (string[]): List of index names to search over
- `max_num_results` (integer): Number of results returned after reranking
- `similarity_threshold` (number): Minimum similarity score for included results
- `query_rewrite` (boolean): Whether to rewrite the query for better performance
- Required arguments:
- `feedback` - Submit user feedback for a transaction
- Required arguments:
- `tx_id` (string): Transaction ID to provide feedback for
- `feedback` (string): User feedback text
- `sentiment` (string): Sentiment rating ("very good", "good", "bad", "very bad")
- Required arguments:
Installation
Using Docker
docker pull ghcr.io/tiovikram/valyu-mcp-server
docker run -i --rm -e VALYU_API_KEY=your-api-key ghcr.io/tiovikram/valyu-mcp-serverConfiguration
Environment Variables
- `VALYU_API_KEY` (required): Your Valyu API key
Configure for Claude.app
Add to your Claude settings:
Using Docker
"mcpServers": {
"valyu": {
"command": "docker",
"args": ["run", "--pull", "--rm", "-i", "-e", "VALYU_API_KEY", "ghcr.io/tiovikram/valyu-mcp-server"],
"env": {
"VALYU_API_KEY": ""
}
}
}Example Interactions
1. Knowledge search:
{
"name": "knowledge",
"arguments": {
"query": "What is quantum computing?",
"search_type": "all",
"max_price": 0.5,
"data_sources": ["valyu/valyu-arxiv", "valyu/valyu-wikipedia"],
"max_num_results": 5
}
}2. Submit feedback:
{
"name": "feedback",
"arguments": {
"tx_id": "12345abcdef",
"feedback": "The information was very helpful and accurate.",
"sentiment": "very good"
}
}Debugging
You can use the MCP inspector to debug the server:
npx @modelcontextprotocol/inspector node dist/index.jsExamples of Questions for Claude
1. "Can you search for information about artificial intelligence in medicine?"
2. "I'd like to learn about sustainable energy solutions. Can you search for that?"
3. "Please help me submit feedback for my transaction with ID TX123456."
4. "Find me the latest research on climate change adaptation strategies."
Frequently asked questions
What is valyu-mcp-js?
valyu-mcp-js is Typescript implementation of MCP server for Valyu Network API (https://docs.valyu.network/api-reference)
How do I install valyu-mcp-js?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is valyu-mcp-js open source?
Yes — it is hosted on GitHub at https://github.com/valyuAI/valyu-mcp-js.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP