AN

adawalli/nexus

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 9 forks 质量 85 趋势 24MIT

MCP 服务器让搜索 openrouter 变得简单

概览

智能AI模型搜索与发现,零安装简便 Nexus 通过 OpenRouter API 提供 AI 驱动的搜索功能。它集成了兼容 MCP 的客户端,包括 Claude Desktop 和 Cursor,通过多个型号系列提供搜索功能,包括 Perplexity Sonar(实时网页搜索)和 Grok 4(训练数据知识)。 - : 通过bunx(或npx)可执行,无需构建要求 - : 多个AI模型,包括Perplexity Sonar(网页搜索)和Grok 4(训练数据) - : 实现标准MCP工具和资源接口 - : 包含请求缓存、重复删除、重试逻辑和错误处理 - : 全面TypeScript覆盖,严格类型检查 - 基于 Bunx/NPX 的执行,无需本地安装- 跨平台兼容(macOS、Linux、Windows)- Bun 1.0+ 或 Node。

概述(AI 翻译)

AI集成但不复杂

_Intelligent 零安装simplicity_的AI模型搜索与发现

快速入门 • 特色 • 文档 • 贡献


什么是Nexus?

Nexus 是一款 模型上下文协议(MCP)服务器,通过 OpenRouter API 提供基于 AI 的搜索功能。它集成了兼容 MCP 的客户端,包括 Claude Desktop 和 Cursor,通过多个模型家族提供搜索功能,包括 Perplexity Sonar(实时网页搜索)和 Grok 4(训练数据知识)。

主要特征

  • 零安装部署:通过bunx(或npx)执行,无需构建要求
  • OpenRouter集成:包括Perplexity Sonar(网页搜索)和Grok 4(训练数据)在内的多个AI模型
  • MCP 协议合规性:实现标准 MCP 工具和资源接口
  • 生产架构:包括请求缓存、重复去重、重试逻辑和错误处理
  • 类型安全实现:完整的TypeScript覆盖,严格类型检查

特色

部署

  • 基于 Bunx/NPX 的执行,无需本地安装

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


What is Nexus?

Nexus is a Model Context Protocol (MCP) server that provides AI-powered search functionality through the OpenRouter API. It integrates with MCP-compatible clients including Claude Desktop and Cursor, providing search capabilities via multiple model families including Perplexity Sonar (real-time web search) and Grok 4 (training-data knowledge).

Key Characteristics

  • Zero-install deployment: Executable via bunx (or npx) with no build requirements
  • OpenRouter integration: Multiple AI models including Perplexity Sonar (web search) and Grok 4 (training data)
  • MCP protocol compliance: Implements standard MCP tool and resource interfaces
  • Production architecture: Includes request caching, deduplication, retry logic, and error handling
  • Type-safe implementation: Full TypeScript coverage with strict type checking

Features

Deployment

  • Bunx/NPX-based execution with zero local installation
  • Cross-platform compatibility (macOS, Linux, Windows)
  • Bun 1.0+ or Node.js 18+ runtime requirement
  • Automated version updates via npm registry

Search Capabilities

  • Multiple model tiers with different capabilities:
    • sonar - Fast Q&A, real-time web search (30s timeout, standard tier)
    • sonar-pro - Multi-step queries, real-time web search (60s timeout, premium tier)
    • sonar-reasoning-pro - Chain-of-thought reasoning, real-time web search (120s timeout, premium tier)
    • sonar-deep-research - Exhaustive research reports, real-time web search (300s timeout, premium tier)
    • grok-4 - Training-data knowledge, no real-time search (60s timeout, premium tier)
  • Real-time web search with current information (Perplexity models)
  • Training-data knowledge responses (Grok 4)
  • Structured citation extraction from responses
在 GitHub 查看完整 README

安装

npx nexus-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "nexus": { "command": "bunx", "args": ["nexus-mcp"], "env": { "OPENROUTER_API_KEY": "your-api-key-here" } } } }