# Pinecone MCP server

> Search Pinecone docs and create, upsert into and query Pinecone indexes with integrated inference from your coding assistant.

- Listing: https://mcp.tc/i/pinecone
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Databases & Backend](https://mcp.tc/c/databases)
- Vendor: Pinecone
- Verified: yes, mcp.tc checked that this is the official server (https://mcp.tc/verify). It says who runs the server, not that it is safe.
- Homepage: <https://docs.pinecone.io/guides/operations/mcp-server>
- Repository: <https://github.com/pinecone-io/pinecone-mcp>
- Package: npm `@pinecone-database/mcp`

## About

Connects an AI assistant to Pinecone projects and documentation. It can search the official Pinecone docs, list and describe indexes, create indexes that use an integrated embedding model, upsert records, and run text searches with metadata filtering and reranking.

Runs locally over stdio with npx and needs Node.js v20 or later. A Pinecone API key in PINECONE\_API\_KEY is needed to manage or query indexes; documentation search works without one. Only indexes with integrated inference are supported.

## What it can do

- Search the official Pinecone documentation
- List and describe indexes and their statistics
- Create indexes backed by an integrated embedding model
- Upsert records into an index
- Search records with metadata filtering and reranking
- Search across multiple indexes with deduplication
- Rerank documents with a reranking model

## Example prompts

- "Search the Pinecone docs for information about metadata filtering"
- "List all my Pinecone indexes and describe their configurations"
- "Create a new index called my-docs using the multilingual-e5-large model"
- "What namespaces exist in my index, and how many records are in each?"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio pinecone --env "PINECONE_API_KEY=<YOUR_PINECONE_API_KEY>" -- npx -y @pinecone-database/mcp
```

2. Start Claude Code and type `/mcp`. **pinecone** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y",
        "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "<YOUR_PINECONE_API_KEY>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=pinecone&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBwaW5lY29uZS1kYXRhYmFzZS9tY3AiXSwiZW52Ijp7IlBJTkVDT05FX0FQSV9LRVkiOiI8WU9VUl9QSU5FQ09ORV9BUElfS0VZPiJ9fQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y",
        "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "<YOUR_PINECONE_API_KEY>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "pinecone": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "${input:pinecone-api-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "pinecone-api-key",
      "description": "PINECONE_API_KEY",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y",
        "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "<YOUR_PINECONE_API_KEY>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add pinecone --env "PINECONE_API_KEY=<YOUR_PINECONE_API_KEY>" -- npx -y @pinecone-database/mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.pinecone]
command = "npx"
args = ["-y", "@pinecone-database/mcp"]
env = { PINECONE_API_KEY = "<YOUR_PINECONE_API_KEY>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "PINECONE_API_KEY=<YOUR_PINECONE_API_KEY>" pinecone npx -- -y @pinecone-database/mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y",
        "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "<YOUR_PINECONE_API_KEY>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Details

- Server version: 0.3.0
- Last checked: 2026-10-03
- Listed: 2026-10-03
- Updated: 2026-10-04

---
Source: https://mcp.tc/i/pinecone (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
