Skip to main content
Glama
pinecone-io

Pinecone Developer MCP

Official
by pinecone-io

Pinecone Developer MCP Server

npm version License CI

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

Related MCP server: Pinecone MCP Server

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

Troubleshooting

MCP server not appearing in your AI tool

  • Ensure Node.js v20 or later is installed: node --version

  • Verify npx is 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_KEY environment 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.

Available Tools

1 tool
search-docsB

Search Pinecone documentation for relevant information

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesThe text to search for.

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears full responsibility. It states 'search' which implies a read-only operation, but does not disclose any behavioral traits such as result format, pagination, rate limits, or scope of documentation. This is insufficient for an agent to understand side effects or constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single clear sentence with no unnecessary words. It is front-loaded and efficient, though it could be slightly expanded to include more context without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of an output schema, the description should explain what the search returns (e.g., relevant document snippets, titles, links). It does not, leaving the agent uncertain about the result format or how to interpret responses. This is a notable gap for a search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for the single 'query' parameter, meaning the schema already explains the parameter. The description adds no additional meaning beyond the schema, earning the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as a search function for Pinecone documentation, specifying both the verb (search) and the resource (Pinecone docs). Since there are no sibling tools to distinguish from, the clarity is sufficient but not exceptional.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when searching Pinecone docs but provides no explicit guidance on when to use this tool, when not to, or any alternatives. Without siblings, explicit exclusions are less critical, but the lack of context still limits utility.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev0.2.1
    • Changedsearch-docs1 field changed
      • removedInput schema / additionalProperties
        Removed value: -false
  2. 1 tool updatev1.0.0
    • First observedsearch-docs

TDQS

B3.2/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion between tools. The tool's purpose is clearly defined as searching Pinecone documentation.

Naming Consistency5/5

With only one tool, naming consistency is trivially satisfied. The name 'search-docs' follows a clear verb_noun pattern.

Tool Count2/5

A single search tool for a developer MCP server is far too limited. Pinecone developers typically need operations for managing indexes, vectors, and configurations, making 1 tool insufficient for the apparent scope.

Completeness1/5

The server is severely incomplete. A Pinecone Developer MCP should include tools for creating, listing, updating, and deleting indexes, as well as vector operations. Only a documentation search tool leaves major gaps.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables interaction with Pinecone vector databases for storing and searching embeddings. Supports similarity search, metadata filtering, and vector operations for semantic search and RAG applications.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Hybrid semantic + keyword memory across all your projects. Works with Cursor, Claude Code, and your team.
    11
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pinecone-io/pinecone-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server