pinecone-mcp
npx skills add https://github.com/pinecone-io/skills --skill pinecone-mcp
Agent 安装分布
Skill 文档
Pinecone MCP Tools Reference
The Pinecone MCP server exposes the following tools to AI agents and IDEs. For setup and installation instructions, see the MCP server guide.
Key Limitation: The Pinecone MCP only supports integrated indexes â indexes created with a built-in Pinecone embedding model. It does not work with standard indexes using external embedding models. For those, use the Pinecone CLI.
list-indexes
List all indexes in the current Pinecone project.
describe-index
Get configuration details for a specific index â cloud, region, dimension, metric, embedding model, field map, and status.
Parameters:
name(required) â Index name
describe-index-stats
Get statistics for an index including total record count and per-namespace breakdown.
Parameters:
name(required) â Index name
create-index-for-model
Create a new serverless index with an integrated embedding model. Pinecone handles embedding automatically â no external model needed.
Parameters:
name(required) â Index namecloud(required) âaws,gcp, orazureregion(required) â Cloud region (e.g.us-east-1)embed.model(required) â Embedding model:llama-text-embed-v2,multilingual-e5-large, orpinecone-sparse-english-v0embed.fieldMap.text(required) â The record field that contains text to embed (e.g.chunk_text)
upsert-records
Insert or update records in an integrated index. Records are automatically embedded using the index’s configured model.
Parameters:
name(required) â Index namenamespace(required) â Namespace to upsert intorecords(required) â Array of records. Each record must have anidor_idfield and contain the text field specified in the index’sfieldMap. Do not nest fields undermetadataâ put them directly on the record.
Example record:
{ "_id": "rec1", "chunk_text": "The Eiffel Tower was built in 1889.", "category": "architecture" }
search-records
Semantic text search against an integrated index. Pass plain text â the MCP embeds the query automatically using the index’s model.
Parameters:
name(required) â Index namenamespace(required) â Namespace to searchquery.inputs.text(required) â The text queryquery.topK(required) â Number of results to returnquery.filter(optional) â Metadata filter using MongoDB-style operators ($eq,$ne,$in,$gt,$gte,$lt,$lte)rerank.model(optional) â Reranking model:bge-reranker-v2-m3,cohere-rerank-3.5, orpinecone-rerank-v0rerank.rankFields(optional) â Fields to rerank on (e.g.["chunk_text"])rerank.topN(optional) â Number of results to return after reranking
cascading-search
Search across multiple indexes simultaneously, then deduplicate and rerank results into a single ranked list.
Parameters:
indexes(required) â Array of{ name, namespace }objects to search acrossquery.inputs.text(required) â The text queryquery.topK(required) â Number of results to retrieve per index before rerankingrerank.model(required) â Reranking model:bge-reranker-v2-m3,cohere-rerank-3.5, orpinecone-rerank-v0rerank.rankFields(required) â Fields to rerank onrerank.topN(optional) â Final number of results to return after reranking
rerank-documents
Rerank a set of documents or records against a query without performing a vector search first.
Parameters:
model(required) âbge-reranker-v2-m3,cohere-rerank-3.5, orpinecone-rerank-v0query(required) â The query to rerank againstdocuments(required) â Array of strings or records to rerankoptions.topN(required) â Number of results to returnoptions.rankFields(optional) â If documents are records, the field(s) to rerank on