pinecone-query

작성자: pinecone-io

Pinecone MCP를 사용하여 텍스트로 통합 인덱스를 쿼리합니다. 중요 - 이 스킬은 통합 인덱스(내장 Pinecone 임베딩이 있는 인덱스)에서만 작동합니다…

npx skills add https://github.com/pinecone-io/skills --skill pinecone-query

Pinecone Query Skill

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

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

  • Terminal: export PINECONE_API_KEY="your-key"
  • IDE without shell inheritance: add PINECONE_API_KEY=your-key to a .env file

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

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

pinecone-io의 다른 스킬

assistant
pinecone-io
Pinecone Assistant를 생성, 관리하고 문서 Q&A 및 인용을 위해 대화합니다. 모든 어시스턴트 작업(생성, 업로드, 동기화, 채팅, 컨텍스트 등)을 처리합니다.
official
cli
pinecone-io
Pinecone CLI(pc)를 사용하여 터미널에서 Pinecone 리소스를 관리하는 가이드입니다. CLI는 모든 인덱스 유형(표준, 통합, 희소)과 모든…
official
help
pinecone-io
사용 가능한 모든 Pinecone 스킬의 개요와 시작하기 위해 필요한 사항. 사용자가 어떤 스킬이 있는지, 어떻게 시작해야 하는지 물을 때 호출됩니다.
official
mcp
pinecone-io
Pinecone MCP 서버 도구에 대한 참조입니다. list-indexes, describe-index, describe-index-stats, create-index-for-model 등 사용 가능한 모든 도구를 문서화합니다.
official
pinecone-assistant
pinecone-io
Pinecone Assistant를 생성, 관리하고 문서 Q&A 및 인용 기능을 제공하는 채팅을 수행합니다. 모든 어시스턴트 작업(생성, 업로드, 동기화, 채팅, 컨텍스트 등)을 처리합니다.
official
pinecone-cli
pinecone-io
터미널에서 Pinecone 리소스를 관리하기 위한 Pinecone CLI(pc) 사용 가이드입니다. CLI는 모든 인덱스 유형(표준, 통합, 희소)과 모든…
official
pinecone-docs
pinecone-io
Pinecone으로 개발하는 개발자를 위한 선별된 문서 참고 자료입니다. 주제별로 정리된 공식 문서 링크와 데이터 형식 참조를 포함합니다. 다음 상황에서 사용하세요…
official
pinecone-full-text-search
pinecone-io
Pinecone 전체 텍스트 검색(FTS) 인덱스를 생성하고, 데이터를 수집하며, 프리뷰 API(2026-01.alpha, 공개 프리뷰)를 사용하여 쿼리합니다. 사용자나 에이전트가 요청할 때 사용하세요.
official