# Pinecone (MCP Server)

> Manage Pinecone indexes, upsert and search records, and search docs

- Type: MCP server
- Publisher: Pinecone (official)
- Categories: Development, AI & ML, Data & Analytics
- Website: https://docs.pinecone.io/guides/operations/mcp-server
- Docs: https://docs.pinecone.io/guides/operations/mcp-server
- Source: https://github.com/pinecone-io/pinecone-mcp
- Transport: stdio
- Launch command: npx -y @pinecone-database/mcp
- Sign-in: api-key
- Environment variables: PINECONE_API_KEY
- GitHub stars: 71
- Listed: 2025-04-09

## About

Pinecone's Developer MCP server lets coding assistants search Pinecone documentation and manage indexes with integrated embedding, including creating indexes, upserting, searching and reranking records. It runs locally via npx; without an API key only documentation search is available.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add pinecone --env PINECONE_API_KEY=YOUR_PINECONE_API_KEY -- npx -y @pinecone-database/mcp
   ```

   config.toml:

   ```toml
   [mcp_servers.pinecone]
   command = "npx"
   args = ["-y", "@pinecone-database/mcp"]
   
   [mcp_servers.pinecone.env]
   PINECONE_API_KEY = "YOUR_PINECONE_API_KEY"
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Pinecone",
       params={"command": "npx", "args": ["-y", "@pinecone-database/mcp"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "List my Pinecone indexes and their stats")
       print(result.final_output)
   ```

## Tools

- `search-docs`
- `list-indexes`
- `describe-index`
- `describe-index-stats`
- `create-index-for-model`
- `upsert-records`
- `search-records`
- `cascading-search`
- `rerank-documents`

## Example prompts

- "List my Pinecone indexes and their stats"
- "Create an index for model llama-text-embed-v2 called docs"
- "Upsert these records into my docs index"
- "Search my index for passages about refund policy"

## Also available as

- plugin: [Pinecone](https://chatgptplugins.directory/plugins/pinecone.md)

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent

---
Source: https://chatgptplugins.directory/mcp/pinecone · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
