Connect to AI
Vector Database API Key

Pinecone REST API

Serverless vector database for AI applications

Pinecone is a fully managed vector database built for AI and machine learning applications. It provides real-time vector similarity search and powers recommendation engines, semantic search, RAG applications, and other AI use cases. Developers use Pinecone to store and query high-dimensional vector embeddings at scale without managing infrastructure.

Base URL https://api.pinecone.io

API Endpoints

MethodEndpointDescription
GET/indexesList all indexes in your Pinecone project
POST/indexesCreate a new vector index with specified dimensions and configuration
GET/indexes/{indexName}Get details about a specific index including status and configuration
DELETE/indexes/{indexName}Delete an index and all its vectors permanently
POST/indexes/{indexName}/upsertInsert or update vectors in an index with metadata
POST/indexes/{indexName}/queryQuery an index with a vector to find similar vectors
POST/indexes/{indexName}/deleteDelete vectors from an index by ID or metadata filter
GET/indexes/{indexName}/fetchFetch vectors by ID from an index
POST/indexes/{indexName}/updateUpdate vector values or metadata for existing vectors
GET/indexes/{indexName}/describe_index_statsGet statistics about an index including vector count and fullness
POST/collectionsCreate a static copy of an index as a collection
GET/collectionsList all collections in your project
DELETE/collections/{collectionName}Delete a collection permanently

Code Examples

# Query vectors for similarity search
curl -X POST "https://index-name-project.svc.environment.pinecone.io/query" \
  -H "Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "vector": [0.1, 0.2, 0.3, 0.4],
    "topK": 10,
    "includeMetadata": true,
    "includeValues": true
  }'

Use Pinecone from Claude / Cursor / ChatGPT

Get a hosted MCP endpoint for Pinecone. Paste your Pinecone API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Pinecone directly with your credentials — no local install, works on mobile.

search_vectors Perform semantic similarity search across vector embeddings to find relevant documents or content based on natural language queries
upsert_embeddings Store vector embeddings with metadata for documents, images, or other content to enable AI-powered search and retrieval
manage_indexes Create, configure, and manage vector indexes with different dimensions and distance metrics for various AI applications
fetch_by_metadata Query and retrieve vectors based on metadata filters to find specific subsets of your vector data
get_index_stats Retrieve statistics and health metrics for vector indexes including vector counts, namespace distribution, and storage utilization

Connect in 60 seconds

Paste your Pinecone key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.

Connect Pinecone to your AI →

Related APIs