> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dexpaprika.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrating Documentation with Cursor IDE

> Learn how to integrate DexPaprika documentation and MCP server directly into Cursor IDE for enhanced development workflows with real-time crypto data access.

## Integration overview

Connect Cursor IDE to DexPaprika via the hosted MCP server and add docs for rich AI context.

## What is Cursor IDE?

Cursor is a powerful AI-first code editor built on top of VS Code that provides advanced AI assistance for developers. With its built-in Claude integration and MCP (Model Context Protocol) support, Cursor can access external data sources and documentation to provide more intelligent coding assistance.

## Why integrate DexPaprika with Cursor?

Integrating DexPaprika documentation and data with Cursor IDE provides several powerful benefits:

* **Real-time crypto data access** - Get live market data, pool information, and token prices while coding
* **Enhanced AI assistance** - Cursor's AI can reference DexPaprika documentation and data for better code suggestions
* **DeFi development workflow** - Build DeFi applications with direct access to comprehensive blockchain data
* **Documentation context** - AI can reference our API docs, tutorials, and examples while helping you code

***

## Step 1: Install MCP server with one click

The easiest way to get started is using our "Connect to Cursor" button that opens Cursor IDE for MCP server installation.

<Steps>
  <Step title="Find the Connect Button">
    1. Look for the **"Connect to Cursor"** button in our documentation
    2. This button is available on relevant pages throughout our docs
    3. Click the button to open Cursor IDE

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/p-TDivGTznmTj8bf/images/tutorials/cursor-ide-integration/1.png?fit=max&auto=format&n=p-TDivGTznmTj8bf&q=85&s=61bcd79049e191645fead60b03114a92" alt="Screenshot showing the 'Connect to Cursor' button highlighted in the documentation sidebar, with the button text 'Install MCP Server on Cursor' visible" width="3414" height="1812" data-path="images/tutorials/cursor-ide-integration/1.png" />
    </Frame>
  </Step>

  <Step title="Configure MCP Server URL">
    1. The button will open Cursor IDE (if not already open)
    2. In the MCP server configuration dialog, enter the DexPaprika MCP server URL:
       ```
       https://mcp.dexpaprika.com/sse
       ```
    3. Click "Install" to complete the setup
    4. Restart Cursor if prompted to complete the setup

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/p-TDivGTznmTj8bf/images/tutorials/cursor-ide-integration/2.png?fit=max&auto=format&n=p-TDivGTznmTj8bf&q=85&s=2b66469b856f63c77094bdce3d96caf0" alt="Screenshot of Cursor IDE showing the MCP server configuration dialog with URL field highlighted and 'https://mcp.dexpaprika.com/sse' entered" width="1822" height="874" data-path="images/tutorials/cursor-ide-integration/2.png" />
    </Frame>
  </Step>

  <Step title="Verify MCP Integration">
    1. Open a new chat with Claude in Cursor (Cmd/Ctrl + L)
    2. Ask a question like: "What are the top liquidity pools on Ethereum?"
    3. You should see DexPaprika data being retrieved and displayed
    4. Try asking about specific networks, tokens, or pools to test the integration

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/p-TDivGTznmTj8bf/images/tutorials/cursor-ide-integration/3.png?fit=max&auto=format&n=p-TDivGTznmTj8bf&q=85&s=d8506629e2173fa8bf4fb387986973ad" alt="Screenshot of Cursor IDE chat interface showing a conversation with Claude, displaying DexPaprika data response with pool information including volume, TVL, and token pairs" width="1132" height="660" data-path="images/tutorials/cursor-ide-integration/3.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  **Can't find the button?** The "Connect to Cursor" button appears on pages where MCP integration is relevant. If you don't see it, you can also manually configure the MCP server using the method below.
</Note>

## Step 2: Add documentation context

Once you have the MCP server installed, enhance your development experience by adding our documentation to your Cursor workspace for full API reference indexing.

<Steps>
  <Step title="Open Cursor settings">
    1. In Cursor, go to **Settings** (Cmd/Ctrl + ,)
    2. Navigate to **Indexing & Docs** in the left sidebar
    3. This section allows you to add custom documentation for AI context

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/p-TDivGTznmTj8bf/images/tutorials/cursor-ide-integration/4.png?fit=max&auto=format&n=p-TDivGTznmTj8bf&q=85&s=fd6af81ec884ff1e0ed5cfb6d7038523" alt="Screenshot of Cursor IDE settings panel showing the Indexing & Docs section with the Docs area highlighted" width="1646" height="1394" data-path="images/tutorials/cursor-ide-integration/4.png" />
    </Frame>
  </Step>

  <Step title="Add DexPaprika documentation">
    1. In the **Docs** section, click **"+ Add Doc"**
    2. Fill out the documentation details:
       * **Name**: "DexPaprika API Reference"
       * **URL**: `https://docs.dexpaprika.com/api-reference/introduction`
    3. Click **"Add"** to complete the setup
    4. This will index our full API reference for AI context

    <Frame>
      <img src="https://mintcdn.com/coinpaprikaspzoo/p-TDivGTznmTj8bf/images/tutorials/cursor-ide-integration/5.png?fit=max&auto=format&n=p-TDivGTznmTj8bf&q=85&s=369eb1c54f5dbb363a818fa94e578a50" alt="Screenshot of Cursor IDE showing the Add Doc dialog with DexPaprika API Reference name and URL filled out" width="1072" height="482" data-path="images/tutorials/cursor-ide-integration/5.png" />
    </Frame>
  </Step>
</Steps>

<Tip>
  **Pro tip:** Using the URL `https://docs.dexpaprika.com/api-reference/introduction` ensures Cursor indexes our complete API reference, giving you access to all endpoints, parameters, and examples in your AI conversations.
</Tip>

## Manual MCP server configuration

If you can't find the "Connect to Cursor" button or prefer manual setup, you can configure the MCP server manually by following our [hosted MCP server guide](/ai-integration/hosted-mcp-server).

<Note>
  **Need help with manual setup?** Our hosted MCP server guide provides detailed instructions for configuring the DexPaprika MCP server in Cursor, Claude Desktop, and other MCP-compatible tools.
</Note>

***

## Available features

Once integrated, you can access comprehensive DexPaprika functionality within Cursor:

### Real-time data access

* **Network information** - Get details about supported blockchain networks
* **DEX data** - Access decentralized exchange information and metrics
* **Pool analytics** - Real-time liquidity pool data, volumes, and fees
* **Token information** - Current prices, market data, and token details
* **Search functionality** - Find tokens, pools, and DEXes across networks

### Documentation context

* **API reference** - Complete endpoint documentation and examples
* **SDK guides** - Language-specific integration tutorials
* **Best practices** - Coding patterns and optimization tips
* **Troubleshooting** - Common issues and solutions

***

## Usage examples

### Example 1: Building a DeFi dashboard

Ask Cursor to help you build a DeFi dashboard with real-time data:

```
"Help me create a React component that displays the top 5 liquidity pools 
on Ethereum using the DexPaprika API. Include volume, TVL, and price data."
```

Cursor can now:

* Reference our API documentation for correct endpoint usage
* Provide real-time pool data for testing
* Suggest optimal data fetching patterns
* Help with error handling and loading states

### Example 2: Token price monitoring

Create a price monitoring application:

```
"Build a Python script that monitors SOL token prices across different 
DEXes and alerts when there are significant price differences."
```

Cursor can:

* Access real-time SOL price data from multiple DEXes
* Reference our historical data tutorials
* Suggest efficient polling strategies
* Help implement price comparison logic

### Example 3: Pool discovery bot

Develop a new pool discovery system:

```
"Create a Node.js application that finds newly created liquidity pools 
with high trading volume and sends notifications."
```

Cursor can:

* Use our pool discovery endpoints
* Reference our "Find New Pools" tutorial
* Provide real-time pool data for testing
* Help with notification system implementation

***

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="MCP server connection issues">
    **Symptoms**: Cursor shows connection errors or timeouts.

    **Solutions**:

    1. Verify internet connection is stable
    2. Check that the MCP server URL is correct: `https://mcp.dexpaprika.com/sse`
    3. Restart Cursor completely
    4. Try removing and re-adding the MCP server configuration
    5. Check Cursor's console for detailed error messages
  </Accordion>

  <Accordion title="Documentation not loading">
    **Symptoms**: Cursor's AI doesn't reference DexPaprika documentation.

    **Solutions**:

    1. Ensure documentation files are in your workspace
    2. Enable "Use workspace files as context" in AI settings
    3. Try asking more specific questions about our API
    4. Restart Cursor to refresh context
  </Accordion>

  <Accordion title="Slow response times">
    **Symptoms**: Cursor takes a long time to respond with DexPaprika data.

    **Solutions**:

    1. Check your internet connection speed
    2. Try breaking complex queries into smaller parts
    3. Use specific network/token names in your queries
    4. Consider using the hosted MCP server for better performance
  </Accordion>

  <Accordion title="Authentication issues">
    **Symptoms**: Getting authentication or permission errors.

    **Solutions**:

    1. DexPaprika API is publicly accessible - no authentication required
    2. Check if your network has firewall restrictions
    3. Try using the hosted MCP server instead of local installation
    4. Contact support if issues persist
  </Accordion>
</AccordionGroup>

***

## Best practices

### For optimal performance

1. **Use specific queries** - Instead of "show me all pools", ask for "top 5 USDC/ETH pools on Ethereum"
2. **Cache frequently used data** - Store common queries locally to reduce API calls
3. **Handle errors gracefully** - Implement proper error handling for network issues
4. **Monitor rate limits** - Be mindful of API usage patterns

### For better AI assistance

1. **Provide context** - Tell Cursor what you're building and your goals
2. **Reference documentation** - Ask Cursor to explain concepts from our docs
3. **Iterate on solutions** - Ask follow-up questions to refine the code
4. **Test with real data** - Use actual DexPaprika data in your development

***

## What's next?

<CardGroup cols={2}>
  <Card title="API Documentation" icon="book-open" href="/api-reference/introduction">
    Explore all available endpoints and their capabilities
  </Card>

  <Card title="SDK Integration" icon="code" href="/get-started/sdk-ts">
    Learn how to use our official SDKs in your projects
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="Find New Pools" icon="plus-circle" href="/tutorials/find-new-pools">
    Discover newly created liquidity pools and tokens
  </Card>

  <Card title="Historical Data" icon="clock" href="/tutorials/retrieve-historical-data">
    Access and analyze historical price and volume data
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="Hosted MCP Server" icon="cloud" href="/ai-integration/hosted-mcp-server">
    Zero-setup MCP integration for instant access
  </Card>

  <Card title="ChatGPT Actions" icon="robot" href="/ai-integration/chatgpt-actions">
    Integrate DexPaprika data with ChatGPT
  </Card>
</CardGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="Join Our Discord" icon="discord" href="https://discord.gg/DhJge5TUGM">
    Connect with our community for real-time support and discussions
  </Card>

  <Card title="Direct Support" icon="envelope" href="mailto:support@coinpaprika.com">
    Contact our team for technical assistance and custom integrations
  </Card>
</CardGroup>

<Note>
  **Building something amazing?** Share your Cursor + DexPaprika integrations with our community! We love seeing what developers build with our tools. [Reach out](mailto:support@coinpaprika.com) to showcase your work.
</Note>

### FAQs

<AccordionGroup>
  <Accordion title="How do I add the MCP server if the button is missing?">
    Manually add `https://mcp.dexpaprika.com/sse` via Cursor settings → Tools & Integrations → New MCP server.
  </Accordion>

  <Accordion title="Docs aren’t referenced by the AI--what now?">
    Add `https://docs.dexpaprika.com/api-reference/introduction` under Indexing & Docs and enable workspace context.
  </Accordion>

  <Accordion title="How to troubleshoot connection issues?">
    Restart Cursor, re‑add the server, and verify the URL; check the developer console for detailed errors.
  </Accordion>
</AccordionGroup>

<script type="application/ld+json">
  {JSON.stringify({
      "@context": "https://schema.org",
      "@type": "FAQPage",
      "mainEntity": [
        {"@type": "Question","name": "How do I add the MCP server if the button is missing?","acceptedAnswer": {"@type": "Answer","text": "Add https://mcp.dexpaprika.com/sse via Cursor settings → Tools & Integrations → New MCP server."}},
        {"@type": "Question","name": "Docs aren’t referenced by the AI--what now?","acceptedAnswer": {"@type": "Answer","text": "Add https://docs.dexpaprika.com/api-reference/introduction in Indexing & Docs and enable workspace context."}},
        {"@type": "Question","name": "How to troubleshoot connection issues?","acceptedAnswer": {"@type": "Answer","text": "Restart Cursor, re-add the server, verify the URL, and check the console for errors."}}
      ]
    })}
</script>
