Skip to main content

Prerequisites

Before you begin, ensure you have:
  • A CorrData account (contact sales@corrdata.com for access)
  • API credentials from the CorrData dashboard
  • Python 3.11+ or Node.js 18+ (for API integration)

Step 1: Access the Dashboard

1

Login

Navigate to app.corrdata.com and sign in with your credentials.
2

Select Organization

If you have access to multiple organizations, select the one you want to work with.
3

Explore Assets

View your pipeline assets on the map or in the asset tree view.

Step 2: Configure the MCP Server

CorrData includes a native MCP server for AI assistant integration. Add it to your Claude Code configuration:
claude_desktop_config.json
{
  "mcpServers": {
    "corrdata": {
      "command": "uvx",
      "args": ["corrdata-mcp"],
      "env": {
        "CORRDATA_API_URL": "https://api.corrdata.com/graphql",
        "CORRDATA_API_KEY": "your-api-key"
      }
    }
  }
}
The MCP server exposes pipeline data to AI assistants, enabling natural language queries about your assets.

Step 3: Make Your First API Call

import httpx

client = httpx.Client(
    base_url="https://api.corrdata.com",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)

query = """
query GetPipelines {
  pipelines(first: 10) {
    edges {
      node {
        uuid
        name
        status
        riskScore
      }
    }
  }
}
"""

response = client.post("/graphql", json={"query": query})
print(response.json())

Next Steps

Import Your Data

Learn how to import assets from ArcGIS or Shapefiles

Set Up Compliance

Configure PHMSA compliance tracking

Explore the API

Full GraphQL API documentation

MCP Tools

See all available MCP tools