1.0.0 • Published 7 months ago

@jreyero/lfx-mcp-server v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

LFX Data Copilot MCP Server

A Model Context Protocol (MCP) server that provides access to Linux Foundation project data and analytics through natural language queries.

Installation

From npm (Recommended)

npm install -g @jreyero/lfx-mcp-server

From source (Development)

git clone https://github.com/CrowdDotDev/lfx-data-copilot.git
cd lfx-data-copilot/mcp-package
npm install -g .

Setup

  1. Get your API key from the LFX Data Copilot dashboard
  2. Set environment variable:
    export LFX_API_KEY="your-api-key-here"

Optional Environment Variables

Usage

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "lfx-data-copilot": {
      "command": "lfx-mcp-server",
      "env": {
        "LFX_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor IDE

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "lfx-data-copilot": {
      "command": "lfx-mcp-server",
      "env": {
        "LFX_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

  • query_data - Generate SQL queries from natural language
  • get_data - Execute queries and return actual data
  • explain_models - Get detailed schema information

Available Resources

  • lfx://models - Browse available data models

Environment Variables

  • LFX_API_KEY (required) - Your API key for accessing LFX data
  • LFX_API_URL (optional) - Custom API URL (auto-detects localhost vs production)
  • NODE_ENV=development or LFX_DEV=true - Forces localhost connection
  • LFX_DEBUG=true - Shows connection info for debugging

Development vs Production

For Development (connects to localhost:3000):

export LFX_API_KEY="QvVZohsfghXxcfEaymVurFVMYPQYdjxjxHmwOsTkrmYOAaLYRtNrBFkGnbSegClR"
export NODE_ENV="development"
lfx-mcp-server

For Production (connects to Render.com):

export LFX_API_KEY="production-api-key"
lfx-mcp-server

Examples

Ask Claude or Cursor:

  • "How many projects are in the Linux Foundation?"
  • "Show me the top 10 funded projects"
  • "What data models are available?"
  • "Explain the structure of the projects model"