Token导航 LogoToken导航TokenDH.com
MCP Pinecone logo
数据服务stdio官方级别未说明来源级核验

MCP Pinecone

MCP Server

@smithery/cli

一个用于Claude桌面的Pinecone索引读写服务,支持语义搜索、文档处理和索引统计功能。

工具数

0

提示词数

0

GitHub Stars

148

资源数

0
向量数据库搜索PythonClaude文档处理Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

sirmews

提供方

sirmews

最后核验

2026/5/17 20:21

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx -y @smithery/cli install mcp-pinecone --client claude

详细介绍

Claude Desktop的松果模型上下文协议服务器。

](https://smithery.ai/server/mcp-pinecone)

](https://pypi.org/project/mcp-pinecone/)

读写松果索引。

组件

flowchart TB
    subgraph Client["MCP Client (e.g., Claude Desktop)"]
        UI[User Interface]
    end

    subgraph MCPServer["MCP Server (pinecone-mcp)"]
        Server[Server Class]
        
        subgraph Handlers["Request Handlers"]
            ListRes[list_resources]
            ReadRes[read_resource]
            ListTools[list_tools]
            CallTool[call_tool]
            GetPrompt[get_prompt]
            ListPrompts[list_prompts]
        end
        
        subgraph Tools["Implemented Tools"]
            SemSearch[semantic-search]
            ReadDoc[read-document]
            ListDocs[list-documents]
            PineconeStats[pinecone-stats]
            ProcessDoc[process-document]
        end
    end

    subgraph PineconeService["Pinecone Service"]
        PC[Pinecone Client]
        subgraph PineconeFunctions["Pinecone Operations"]
            Search[search_records]
            Upsert[upsert_records]
            Fetch[fetch_records]
            List[list_records]
            Embed[generate_embeddings]
        end
        Index[(Pinecone Index)]
    end

    %% Connections
    UI --> Server
    Server --> Handlers
    
    ListTools --> Tools
    CallTool --> Tools
    
    Tools --> PC
    PC --> PineconeFunctions
    PineconeFunctions --> Index
    
    %% Data flow for semantic search
    SemSearch --> Search
    Search --> Embed
    Embed --> Index
    
    %% Data flow for document operations
    UpsertDoc --> Upsert
    ReadDoc --> Fetch
    ListRes --> List

    classDef primary fill:#2563eb,stroke:#1d4ed8,color:white
    classDef secondary fill:#4b5563,stroke:#374151,color:white
    classDef storage fill:#059669,stroke:#047857,color:white
    
    class Server,PC primary
    class Tools,Handlers secondary
    class Index storage

资源

服务器实现了对松果索引的读写功能。

工具

  • semantic-search:在松果索引中搜索记录。
  • read-document:阅读松果索引中的文档。
  • list-documents:列出松果索引中的所有文档。
  • pinecone-stats:获取Pinecone索引的统计信息,包括记录数、维度和命名空间。
  • process-document:将文档处理成块,并将其追加到松果索引中。这执行了分块、嵌入和加扰的整体步骤。

注意:嵌入是通过Pinecone的推理API生成的,分块是通过基于标记的分块器完成的。通过大量复制langchain编写,并使用Claude进行调试。

快速启动

通过Smithery安装

通过以下方式自动安装Claude Desktop的松果MCP服务器 史密瑟里:

npx -y @smithery/cli install mcp-pinecone --client claude

安装服务器

建议使用 紫外线 在本地为Claude安装服务器。

uvx install mcp-pinecone

uv pip install mcp-pinecone

如下所述添加您的配置。

克劳德桌面

在MacOS上: ~/Library/Application\ Support/Claude/claude_desktop_config.json 在Windows上: %APPDATA%/Claude/claude_desktop_config.json

注意:您可能需要使用直接路径 uv.使用 which uv 找到路。

__开发/未发布的服务器配置__

"mcpServers": {
  "mcp-pinecone": {
    "command": "uv",
    "args": [
      "--directory",
      "{project_dir}",
      "run",
      "mcp-pinecone"
    ]
  }
}

__已发布的服务器配置__

"mcpServers": {
  "mcp-pinecone": {
    "command": "uvx",
    "args": [
      "--index-name",
      "{your-index-name}",
      "--api-key",
      "{your-secret-api-key}",
      "mcp-pinecone"
    ]
  }
}

注册Pinecone

您可以注册Pinecone帐户 这里.

获取API密钥

在Pinecone中创建新索引,替换 {your-index-name} 并从Pinecone仪表板获取API密钥,替换 {your-secret-api-key} 在配置中。

发展

建筑与出版

准备分发包裹:

  1. 同步依赖关系并更新锁文件:
uv sync
  1. 构建包分发:
uv build

这将在 dist/ 目录。

  1. 发布到PyPI:
uv publish

注意:您需要通过环境变量或命令标志设置PyPI凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN
  • 或用户名/密码: --username/UV_PUBLISH_USERNAME--password/UV_PUBLISH_PASSWORD

调试

由于MCP服务器在stdio上运行,调试可能具有挑战性。为了达到最佳调试效果 经验,我们强烈建议使用 MCP检查员.

您可以通过以下方式启动MCP检查器 使用此命令:

npx @modelcontextprotocol/inspector uv --directory {project_dir} run mcp-pinecone

启动后,检查器将显示一个URL,您可以在浏览器中访问该URL以开始调试。

许可证

该项目根据MIT许可证获得许可。请参阅 许可证 文件以获取详细信息。

源代码

源代码可在 .

贡献

请将您的想法和反馈发送给我 蓝天 或者打开一个问题。

目录标签

目录标签

向量数据库搜索PythonClaude文档处理本地部署语义搜索Claude集成AI工具

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

token

运行时(runtime,运行环境)

Node.js

部署方式(deploymentType,部署类型)

remote-capable

来源包(packageName,安装包名)

@smithery/cli

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiotokenremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP