pinecone
Stores and queries vector embeddings for semantic search and retrieval augmented generation.
Claude Code
> /plugin marketplace add pinecone-io/pinecone-claude-code-plugin> /plugin install pinecone@pinecone-plugins
Codex
$ codex mcp add pinecone --env PINECONE_API_KEY=YOUR_VALUE -- npx -y @pinecone-database/mcp
Cursor
{ "mcpServers": { "pinecone": { "command": "npx", "args": [ "-y", "@pinecone-database/mcp" ], "env": { "PINECONE_API_KEY": "YOUR_VALUE" } } } }
Add it to mcp.json.
Gemini CLI
{ "mcpServers": { "pinecone": { "command": "npx", "args": [ "-y", "@pinecone-database/mcp" ], "env": { "PINECONE_API_KEY": "YOUR_VALUE" } } } }
Add it to settings.json.
GitHub Copilot
$ copilot mcp add pinecone --env PINECONE_API_KEY=YOUR_VALUE -- npx -y @pinecone-database/mcp
OpenCode
{ "mcp": { "pinecone": { "type": "local", "command": [ "npx", "-y", "@pinecone-database/mcp" ], "environment": { "PINECONE_API_KEY": "YOUR_VALUE" } } } }
Add it to opencode.json.
Windsurf
{ "mcpServers": { "pinecone": { "command": "npx", "args": [ "-y", "@pinecone-database/mcp" ], "env": { "PINECONE_API_KEY": "YOUR_VALUE" } } } }
Add it to mcp_config.json.
From the README
What can you do with pinecone?
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-document-index
Creates a document index with searchable string fields, each indexed for full-text search, embedded by a hosted model (integrated embedding), or both.
upsert-documents
Inserts or updates documents in a document index.
search-document-index
Searches a document index by meaning (embed, sparse_embed) or by keywords (text, query_string), with optional filters.
create-index-for-model
Creates a legacy integrated index that uses an integrated inference model to embed text as vectors.
Security report
Low risk
Known flaws
None known
Signed build
Yes
Build provenance published
Maintained
Nov 12, 2026
Last push
Licence
MIT
Runs as
npx
On your machine
Deprecated
No
Signals from public registries, not an audit. Checked Nov 14, 2026.
pinecone 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 v22 or later. 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.
Use as a Gemini CLI extension
To install this as a Gemini CLI extension, run the following command:
gemini extensions install https://github.com/pinecone-io/pinecone-mcp
You will need to provide your Pinecone API key in the PINECONE_API_KEY environment variable.
export PINECONE_API_KEY=<your pinecone api key>
When you run gemini and press ctrl+t, pinecone should now be shown in the list of installed MCP servers.
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.
Example prompts
Here are some prompts you can try with your AI assistant:
- "Search the Pinecone docs for information about metadata filtering"
- "List all my Pinecone indexes and describe their configurations"
- "Create a new index called 'my-docs' using the multilingual-e5-large model"
- "Upsert these documents into my index: [paste your documents]"
- "Search my index for records related to 'authentication best practices'"
- "What namespaces exist in my index, and how many records are in each?"
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-document-index: Creates a document index with searchable string fields, each indexed for full-text search, embedded by a hosted model (integrated embedding), or both.upsert-documents: Inserts or updates documents in a document index.search-document-index: Searches a document index by meaning (embed,sparse_embed) or by keywords (text,query_string), with optional filters.create-index-for-model: Creates a legacy integrated 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
Document indexes with string fields (full-text search and integrated embedding) and legacy integrated indexes are supported. Assistants, standalone embeddings, and search with your own vectors are not supported.
Troubleshooting
MCP server not appearing in your AI tool
- Ensure Node.js v22 or later is installed:
node --version - Verify
npxis available in your PATH:which npx - Check that your configuration file is in the correct location and has valid JSON syntax
- Restart your AI tool after making configuration changes
"Invalid API key" or authentication errors
- Verify your API key is correct in the Pinecone console
- Check that the
PINECONE_API_KEYenvironment variable is set correctly in your MCP configuration - Ensure there are no extra spaces or quotes around the API key value
Tools not working as expected
- The MCP server only supports indexes with integrated inference. If you're trying to use a serverless index without integrated inference, you'll need to create a new index with an embedding model
- Check the MCP server logs for error messages. In Cursor, view logs in Cursor Settings > MCP
Connection issues
- If using a corporate network, ensure your firewall allows connections to
api.pinecone.io - Try running the server manually to see detailed error output:
PINECONE_API_KEY=<your-key> npx @pinecone-database/mcp
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.
A lightweight plugin that integrates Pinecone vector database capabilities directly into Claude Code, enabling semantic search, index management, and RAG (Retrieval Augmented Generation) workflows.
More MCP servers from other plugins.
agentmemory
MCPShips with agentmemory: #1 Persistent memory for AI coding agents based on real-world benchmarks
skill-seekers
MCPShips with skill-seekers: 🧠 The data layer for AI systems. Skill Seekers turns documentation sites, GitHub repos, PDFs, videos,…
Questions about pinecone.
- Which coding agents can use pinecone?
- pinecone works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
- How do I add pinecone to Claude Code?
- Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add pinecone-io/pinecone-claude-code-plugin 2. In Claude Code: /plugin install pinecone@pinecone-plugins
- Is pinecone safe to install?
- Low risk. Signals from public registries, not an audit.

