> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code plugin

> Install the official Pinecone plugin for Claude Code to manage indexes, run vector search, and build RAG assistants from the terminal with slash commands.

The official Pinecone plugin for [Claude Code](https://claude.ai/code) adds Pinecone skills, the Pinecone MCP server, and slash commands to Claude Code in your terminal. Use natural language to manage indexes, query data, build RAG applications, and create document Q\&A assistants, with up-to-date Pinecone API knowledge.

[View on GitHub](https://github.com/pinecone-io/pinecone-claude-code-plugin)

## Features

* Built-in skills cover index management, semantic search, full-text search, assistant creation, and more.
* The integrated MCP server runs Pinecone operations directly from Claude Code.
* Slash commands like `/pinecone:quickstart` and `/pinecone:query` give you quick access to skills.
* Assistant commands work from natural language, without explicit slash commands.

## Prerequisites

* A [Pinecone API key](https://app.pinecone.io/organizations/-/keys)
* [Claude Code](https://claude.ai/code) installed with access to the [official Anthropic marketplace](https://code.claude.com/docs/en/discover-plugins#official-anthropic-marketplace)
* [Node.js](https://nodejs.org/) installed (`npx` must be on your `PATH`)
* [uv](https://docs.astral.sh/uv/getting-started/installation/) installed (required to run the bundled Python scripts, including the quickstart skill)
* [Pinecone CLI](https://docs.pinecone.io/reference/cli/quickstart.md) installed (optional, for advanced operations)

## Installation

**1. Set your API key**

```shell theme={null}
export PINECONE_API_KEY="YOUR_API_KEY"
```

Replace `YOUR_API_KEY` with your [Pinecone API key](https://app.pinecone.io/organizations/-/keys).

**2. Install the plugin**

From your terminal:

```shell theme={null}
claude plugin install pinecone
```

Or from within Claude Code:

```text theme={null}
/plugin install pinecone
```

**3. Restart Claude Code**

Restart Claude Code to activate the plugin. Then run `/pinecone:help` to verify the installation.

## Available skills

| Skill | Command | Description |
| - | - | - |
| Help | `/pinecone:help` | Overview of all skills and setup requirements. |
| Quickstart | `/pinecone:quickstart` | Interactive onboarding that walks you through creating an index, upserting data, and running a query. |
| Query | `/pinecone:query` | Search integrated indexes using natural language. |
| Assistant | `/pinecone:assistant` | Create, upload, sync, and chat with Pinecone Assistants. |
| CLI | `/pinecone:cli` | Guide for using the Pinecone CLI from the terminal. |
| Full-text search | `/pinecone:full-text-search` | Create, ingest into, and query a Pinecone full-text-search (FTS) index. Requires Python SDK v10.0.0 or later. |
| n8n | `/pinecone:n8n` | Build [n8n](https://docs.pinecone.io/integrations/n8n.md) workflows with the Pinecone Assistant node or Pinecone Vector Store, including best practices and full workflow JSON generation. |
| MCP | `/pinecone:mcp` | Reference for all Pinecone MCP server tools. |
| Docs | `/pinecone:docs` | Curated links to official Pinecone documentation. |

## MCP tools

The plugin includes the Pinecone MCP server, which provides the following tools:

* `search-docs`: Search the official Pinecone documentation.
* `list-indexes`: List all available Pinecone indexes.
* `describe-index`: Get index configuration and namespaces.
* `describe-index-stats`: Get record counts and namespace statistics.
* `create-index-for-model`: Create a new index with integrated embeddings.
* `upsert-records`: Insert or update records in an index.
* `search-records`: Search records with optional metadata filtering and reranking.
* `cascading-search`: Search across multiple indexes with deduplication and reranking.
* `rerank-documents`: Rerank documents using a specified reranking model.

For full MCP server documentation, see [Use the Pinecone MCP server](https://docs.pinecone.io/guides/agents/mcp-server.md).

## Resources

* [GitHub repository](https://github.com/pinecone-io/pinecone-claude-code-plugin)
* [Pinecone MCP server guide](https://docs.pinecone.io/guides/agents/mcp-server.md)
* [Claude Code documentation](https://docs.claude.com/en/docs/claude-code/quickstart)
