Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

pinecone-mcp

MCP.Pizza Chef: pinecone-io

The pinecone-mcp server integrates Pinecone vector database projects with AI assistants like Cursor and Claude, enabling intelligent search, index configuration, and code generation. It allows developers to query Pinecone documentation, upsert and search data in indexes, and test queries within their development environment, streamlining Pinecone usage and enhancing developer workflows.

Use This MCP server To

Search Pinecone documentation for accurate developer assistance Configure Pinecone indexes via AI-driven recommendations Generate code based on Pinecone index configurations and data Upsert data into Pinecone indexes from AI tools Search data within Pinecone indexes to evaluate query results Test and validate Pinecone queries in development environments

README

Pinecone Developer MCP Server

The Model Context Protocol (MCP) is a standard that allows coding assistants and other AI tools to interact with platforms like Pinecone. The Pinecone Developer MCP Server allows you to connect these tools with Pinecone projects and documentation.

Once connected, AI tools can:

  • Search Pinecone documentation to answer questions accurately.
  • Help you configure indexes based on your application's needs.
  • Generate code informed by your index configuration and data, as well as Pinecone documentation and examples.
  • Upsert and search for data in indexes, allowing you to test queries and evaluate results within your dev environment.

See the docs for more detailed information.

This MCP server is focused on improving the experience of developers working with Pinecone as part of their technology stack. It is intended for use with coding assistants. Pinecone also offers the Assistant MCP, which is designed to provide AI assistants with relevant context sourced from your knowledge base.

Setup

To configure the MCP server to access your Pinecone project, you will need to generate an API key using the console. Without an API key, your AI tool will still be able to search documentation. However, it will not be able to manage or query your indexes.

The MCP server requires Node.js. Ensure that node and npx are available in your PATH.

Next, you will need to configure your AI assistant to use the MCP server.

Configure Cursor

To add the Pinecone MCP server to a project, create a .cursor/mcp.json file in the project root (if it doesn't already exist) and add the following configuration:

{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y", "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "<your pinecone api key>"
      }
    }
  }
}

You can check the status of the server in Cursor Settings > MCP.

To enable the server globally, add the configuration to the .cursor/mcp.json in your home directory instead.

It is recommended to use rules to instruct Cursor on proper usage of the MCP server. Check out the docs for some suggestions.

Configure Claude desktop

Use Claude desktop to locate the claude_desktop_config.json file by navigating to Settings > Developer > Edit Config. Add the following configuration:

{
  "mcpServers": {
    "pinecone": {
      "command": "npx",
      "args": [
        "-y", "@pinecone-database/mcp"
      ],
      "env": {
        "PINECONE_API_KEY": "<your pinecone api key>"
      }
    }
  }
}

Restart Claude desktop. On the new chat screen, you should see a hammer (MCP) icon appear with the new MCP tools available.

Usage

Once configured, your AI tool will automatically make use of the MCP to interact with Pinecone. You may be prompted for permission before a tool can be used. Try asking your AI assistant to set up an example index, upload sample data, or search for you!

Tools

Pinecone Developer MCP Server provides the following tools for AI assistants to use:

  • search-docs: Search the official Pinecone documentation.
  • list-indexes: Lists all Pinecone indexes.
  • describe-index: Describes the configuration of an index.
  • describe-index-stats: Provides statistics about the data in the index, including the number of records and available namespaces.
  • create-index-for-model: Creates a new index that uses an integrated inference model to embed text as vectors.
  • upsert-records: Inserts or updates records in an index with integrated inference.
  • search-records: Searches for records in an index based on a text query, using integrated inference for embedding. Has options for metadata filtering and reranking.
  • cascading-search: Searches for records across multiple indexes, deduplicating and reranking the results.
  • rerank-documents: Reranks a collection of records or text documents using a specialized reranking model.

Limitations

Only indexes with integrated inference are supported. Assistants, indexes without integrated inference, standalone embeddings, and vector search are not supported.

Contributing

We welcome your collaboration in improving the developer MCP experience. Please submit issues in the GitHub issue tracker. Information about contributing can be found in CONTRIBUTING.md.

pinecone-mcp FAQ

How does pinecone-mcp improve developer workflows?
It connects AI assistants to Pinecone projects, enabling intelligent search, code generation, and index management directly within dev environments.
Can pinecone-mcp help with Pinecone index configuration?
Yes, it assists in configuring indexes based on your application needs using AI-driven guidance.
Does pinecone-mcp support querying Pinecone documentation?
Yes, it allows AI tools to search Pinecone documentation to provide accurate answers and examples.
Can I upsert and search data in Pinecone indexes using pinecone-mcp?
Yes, it supports upserting and searching data to test queries and evaluate results.
Is pinecone-mcp compatible with multiple AI assistants?
Yes, it works with various AI tools like Cursor, Claude, and others supporting MCP.
Where can I find more detailed documentation for pinecone-mcp?
Detailed docs are available at https://docs.pinecone.io/guides/operations/mcp-server.
Does pinecone-mcp support real-time interaction with Pinecone indexes?
Yes, it enables real-time upsert and search operations within development workflows.
How secure is the connection between AI assistants and Pinecone via pinecone-mcp?
The server follows MCP principles for secure, scoped, and observable model interactions.