Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
PINECONE_API_KEYYesPinecone API key (starts with pcsk_) Docs.

Setup

  1. Create a Pinecone account: Sign up at https://app.pinecone.io - the free Starter plan includes serverless indexes for testing.
  2. Create an API key: In the Pinecone console, select your project, open API Keys, and create a key (pcsk_…). Copy it immediately.
  3. Store the key: Add it to your .env file as PINECONE_API_KEY=pcsk_…
  4. Verify access: Run the List Indexes tool. To read or write vectors, first run Describe Index and use the returned ‘host’ value as the indexHost parameter for Query Vectors / Upsert Vectors.
  • Pinecone is two-step: control-plane tools (list/describe/create index) hit api.pinecone.io, while query/upsert hit the per-index host returned by Describe Index
  • All requests send the X-Pinecone-API-Version header (default 2025-01)
  • Embeddings must be generated separately (e.g. with OpenAI) - vectors you query or upsert must match the index dimension
Provider API reference: https://docs.pinecone.io/reference/api/introduction

Tools

ToolAccessDescription
List IndexesReadList all indexes in the Pinecone project
Describe IndexReadGet an index’s configuration and its data-plane host (needed for Query Vectors and Upsert Vectors)
Create IndexWriteCreate a new serverless or pod-based index
Query VectorsReadQuery an index for the nearest vectors (run Describe Index first to get the index host)
Upsert VectorsWriteWrite vectors into an index (run Describe Index first to get the index host)

Example prompts

  • List my Pinecone indexes with their dimensions, metrics, and status.
  • Describe my Pinecone index to get its host, then query it with an embedding vector and show the top matches with metadata.