Skip to main content
Glama

Valyu MCP Server

MIT License
  • Linux
  • Apple

Valyu MCP 服务器

一个模型上下文协议服务器,提供对 Valyu 知识检索和反馈 API 的访问。该服务器使法学硕士 (LLM) 能够搜索专有资源和网络资源以获取信息,并提交交易反馈。

可用工具

  • knowledge - 搜索专有和/或网络来源以获取信息
    • 必需参数:
      • query (字符串):要搜索的问题或主题
      • search_type (字符串):要搜索的来源类型(“专有”、“网络”或“全部”)
      • max_price (数字):每千次查询允许的最高价格(CPM)
    • 可选参数:
      • data_sources (string[]): 要搜索的索引名称列表
      • max_num_results (整数):重新排序后返回的结果数
      • similarity_threshold (数字):包含结果的最低相似度得分
      • query_rewrite (布尔值):是否重写查询以获得更好的性能
  • feedback - 提交交易的用户反馈
    • 必需参数:
      • tx_id (字符串):提供反馈的交易 ID
      • feedback (字符串):用户反馈文本
      • sentiment (字符串):情绪评级(“非常好”,“好”,“坏”,“非常坏”)

安装

使用 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-server

配置

环境变量

  • VALYU_API_KEY (必需):您的 Valyu API 密钥

为 Claude.app 配置

添加到您的 Claude 设置:

"mcpServers": { "valyu": { "command": "docker", "args": ["run", "--pull", "--rm", "-i", "-e", "VALYU_API_KEY", "ghcr.io/tiovikram/valyu-mcp-server"], "env": { "VALYU_API_KEY": "<your-valyu-api-key>" } } }

交互示例

  1. 知识搜索:
{ "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 } }
  1. 提交反馈:
{ "name": "feedback", "arguments": { "tx_id": "12345abcdef", "feedback": "The information was very helpful and accurate.", "sentiment": "very good" } }

调试

您可以使用 MCP 检查器来调试服务器:

npx @modelcontextprotocol/inspector node dist/index.js

克劳德的问题示例

  1. “你能搜索有关医学人工智能的信息吗?”
  2. “我想了解可持续能源解决方案。你能搜索一下吗?”
  3. “请帮我提交 ID 为 TX123456 的交易反馈。”
  4. “帮我找到有关气候变化适应策略的最新研究。”

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

模型上下文协议服务器为 LLM 提供对 Valyu 知识检索和反馈 API 的访问权限,以便搜索专有/网络源并提交交易反馈。

  1. 可用工具
    1. 安装
      1. 使用 Docker
    2. 配置
      1. 环境变量
      2. 为 Claude.app 配置
    3. 交互示例
      1. 调试
        1. 克劳德的问题示例

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.
            Last updated -
            1
            23
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
            Last updated -
            10
            77
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
            Last updated -
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
            Last updated -
            5
            Python
            Apache 2.0

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/valyu-network/valyu-mcp-js'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server