npx skills add ...
npx skills add pinecone-io/skills --skill pinecone-query
npx skills add pinecone-io/skills --skill pinecone-query
Query integrated indexes using text with Pinecone MCP. IMPORTANT - This skill ONLY works with integrated indexes (indexes with built-in Pinecone embedding models like multilingual-e5-large). For standard indexes or advanced vector operations, use the CLI skill instead. Requires PINECONE_API_KEY environment variable and Pinecone MCP server to be configured.
Search for records in Pinecone integrated indexes using natural language text queries via the Pinecone MCP server.
This skill provides a simple way to query integrated indexes (indexes with built-in Pinecone embedding models) using text queries. The MCP server automatically converts your text into embeddings and searches the index.
Required:
Use the CLI skill instead if:
MCP Limitation: The Pinecone MCP currently only supports integrated indexes. For all other use cases, use the Pinecone CLI skill.
Utilize Pinecone MCP's search-records tool to search for records within a specified Pinecone integrated index using a text query.
IMPORTANT: Before proceeding, verify the Pinecone MCP tools are available. If MCP tools are not accessible:
PINECONE_API_KEY environment variable is setpinecone-help skillParse the user's input for:
query (required): The text to search for.index (required): The name of the Pinecone index to search.namespace (optional): The namespace within the index.reranker (optional): The reranking model to use for improved relevance.If the user omits required arguments:
describe-index tool to retrieve available namespaces and ask the user to choose.list-indexes to get available indexes, ask the user to pick one, then use describe-index for namespaces if needed.Call the search-records tool with the gathered arguments to perform the search.
Format and display the returned results in a clear, readable table including field highlights (such as ID, score, and relevant metadata).
PINECONE_API_KEY is required. Get a free key at https://app.pinecone.io/?sessionType=signup
If you get an access error, the key is likely missing. Ask the user to set it and restart their IDE or agent session:
export PINECONE_API_KEY="your-key"PINECONE_API_KEY=your-key to a .env fileIMPORTANT At the moment, the /query command can only be used with integrated indexes, which use hosted Pinecone embedding models to embed and search for data. If a user attempts to query an index that uses a third party API model such as OpenAI, or HuggingFace embedding models, remind them that this capability is not available yet with the Pinecone MCP server.
list-indexes, describe-index).search-records: Search records in a given index with optional metadata filtering and reranking.list-indexes: List all available Pinecone indexes.describe-index: Get index configuration and namespaces.describe-index-stats: Get stats including record counts and namespaces.rerank-documents: Rerank returned documents using a specified reranking model.