Generated banner for Pinecone Query
Generated logo for Pinecone Query

Pinecone Query

PineconeOfficialPublished by Pinecone

  • Skill
  • Tool integration
  • Data and AI
  • MIT
  • No issues found

From the author

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 pinecone-cli skill instead. Requires PINECONE_API_KEY environment variable and Pinecone MCP server to be configured.
— the description by Pinecone

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The pinecone-query skill enables users to perform semantic searches on Pinecone integrated indexes directly through an AI agent. By leveraging the Pinecone MCP server, the skill automatically handles the conversion of text queries into embeddings, provided the target index uses built-in Pinecone embedding models. It includes interactive workflows to help users identify the correct index and namespace, ensuring that queries are executed against the appropriate data structures.

What it does

  • Performs semantic text searches on Pinecone integrated indexes.
  • Automatically handles embedding generation via the Pinecone MCP server.
  • Supports optional namespace filtering and reranking models for improved relevance.
  • Provides interactive prompts to discover available indexes and namespaces.
  • Formats search results into readable tables with metadata and relevance scores.

When to use it

  • When you need to perform natural language search on Pinecone indexes with built-in embedding models.
  • When you want to quickly retrieve relevant records from a specific namespace.
  • When you need to improve search accuracy by applying a reranking model to results.
  • When you are unsure of the exact index or namespace name and need the agent to list available options.

Advantages

  • Simplifies vector search by abstracting the embedding process.
  • Reduces manual configuration by guiding users through index and namespace selection.
  • Integrates seamlessly with existing Pinecone MCP server setups.
  • Provides clear error handling and troubleshooting steps for API key and index compatibility.

Usage examples

“Search for 'customer support policies' in my 'knowledge-base' index.”
The agent uses the Pinecone MCP to embed the query and returns a table of relevant records found within the specified index.
“Find documents about 'API authentication' in the 'docs' index under the 'v2' namespace.”
The agent executes a targeted search within the 'v2' namespace of the 'docs' index and displays the matching results with their scores.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/pinecone-io/pinecone-query/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip pinecone-query.zip -d .agents/skills

Documentation by Pinecone

Pinecone Query Skill

Search for records in Pinecone integrated indexes using natural language text queries via the Pinecone MCP server.

<<clarify_style>>

What is this skill for?

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.

Prerequisites

Required:

  1. ✅ Pinecone MCP server must be configured - Check if MCP tools are available

  2. ✅ PINECONE_API_KEY environment variable must be set - Get a free API key at https://app.pinecone.io/?sessionType=signup

  3. ✅ Index must be an integrated index - Uses Pinecone embedding models (e.g., multilingual-e5-large, llama-text-embed-v2, pinecone-sparse-english-v0)

When NOT to use this skill

Use the pinecone-cli skill instead if:

  • ❌ Your index is a standard index (no integrated embedding model)

  • ❌ You need to query with custom vector values (not text)

  • ❌ You need advanced vector operations (fetch by ID, list vectors, bulk operations)

  • ❌ Your index uses third-party embedding models (OpenAI, HuggingFace, Cohere)

MCP Limitation: The Pinecone MCP currently only supports integrated indexes. For all other use cases, use the pinecone-cli skill.

How it works

Utilize Pinecone MCP's search-records tool to search for records within a specified Pinecone integrated index using a text query.

Workflow

IMPORTANT: Before proceeding, verify the Pinecone MCP tools are available. If MCP tools are not accessible:

  • Inform the user that the Pinecone MCP server needs to be configured

  • Check if PINECONE_API_KEY environment variable is set

  • Direct them to the MCP setup documentation or the pinecone-help skill

  1. Parse 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.

  2. If the user omits required arguments:

    • If only the index name is provided, use the describe-index tool to retrieve available namespaces and ask the user to choose.

    • If only a query is provided, use list-indexes to get available indexes, ask the user to pick one, then use describe-index for namespaces if needed.

  3. Call the search-records tool with the gathered arguments to perform the search.

  4. Format and display the returned results in a clear, readable table including field highlights (such as ID, score, and relevant metadata).


Troubleshooting

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: <<api_key_setup>>

IMPORTANT At the moment, the pinecone-query skill 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.

  • If required arguments are missing, prompt the user to supply them, using Pinecone MCP tools as needed (e.g., list-indexes, describe-index).

  • Guide the user interactively through argument selection until the search can be completed.

  • If an invalid value is provided for any argument (e.g., nonexistent index or namespace), surface the error and suggest valid options.

Tools Reference

  • 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.

  • Ask the user interactively to clarify missing information when needed.


Files

SKILL.md

Pinecone Query Skill

Search for records in Pinecone integrated indexes using natural language text queries via the Pinecone MCP server.

<<clarify_style>>

What is this skill for?

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.

Prerequisites

Required:

  1. ✅ Pinecone MCP server must be configured - Check if MCP tools are available

  2. ✅ PINECONE_API_KEY environment variable must be set - Get a free API key at https://app.pinecone.io/?sessionType=signup

  3. ✅ Index must be an integrated index - Uses Pinecone embedding models (e.g., multilingual-e5-large, llama-text-embed-v2, pinecone-sparse-english-v0)

When NOT to use this skill

Use the pinecone-cli skill instead if:

  • ❌ Your index is a standard index (no integrated embedding model)

  • ❌ You need to query with custom vector values (not text)

  • ❌ You need advanced vector operations (fetch by ID, list vectors, bulk operations)

  • ❌ Your index uses third-party embedding models (OpenAI, HuggingFace, Cohere)

MCP Limitation: The Pinecone MCP currently only supports integrated indexes. For all other use cases, use the pinecone-cli skill.

How it works

Utilize Pinecone MCP's search-records tool to search for records within a specified Pinecone integrated index using a text query.

Workflow

IMPORTANT: Before proceeding, verify the Pinecone MCP tools are available. If MCP tools are not accessible:

  • Inform the user that the Pinecone MCP server needs to be configured

  • Check if PINECONE_API_KEY environment variable is set

  • Direct them to the MCP setup documentation or the pinecone-help skill

  1. Parse 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.

  2. If the user omits required arguments:

    • If only the index name is provided, use the describe-index tool to retrieve available namespaces and ask the user to choose.

    • If only a query is provided, use list-indexes to get available indexes, ask the user to pick one, then use describe-index for namespaces if needed.

  3. Call the search-records tool with the gathered arguments to perform the search.

  4. Format and display the returned results in a clear, readable table including field highlights (such as ID, score, and relevant metadata).


Troubleshooting

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: <<api_key_setup>>

IMPORTANT At the moment, the pinecone-query skill 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.

  • If required arguments are missing, prompt the user to supply them, using Pinecone MCP tools as needed (e.g., list-indexes, describe-index).

  • Guide the user interactively through argument selection until the search can be completed.

  • If an invalid value is provided for any argument (e.g., nonexistent index or namespace), surface the error and suggest valid options.

Tools Reference

  • 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.

  • Ask the user interactively to clarify missing information when needed.


Requirements and compatibility

Written for: Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Claude Code frontmatter, Needs an MCP server, Needs an API key

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Pinecone
Publisher
Pinecone (Official)
Source
pinecone-io/skills · skills/pinecone-query · commit 885dc53
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Pinecone.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download pinecone-query.zip