1.0.0 • Published 7 months ago
@jreyero/lfx-mcp-server v1.0.0
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-serverFrom source (Development)
git clone https://github.com/CrowdDotDev/lfx-data-copilot.git
cd lfx-data-copilot/mcp-package
npm install -g .Setup
- Get your API key from the LFX Data Copilot dashboard
- Set environment variable:
export LFX_API_KEY="your-api-key-here"
Optional Environment Variables
LFX_API_URL: Override the API endpoint (default: https://report-builder.onrender.com)LFX_DEBUG: Enable debug loggingNODE_ENV: Set to 'development' for local development
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 languageget_data- Execute queries and return actual dataexplain_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 dataLFX_API_URL(optional) - Custom API URL (auto-detects localhost vs production)NODE_ENV=developmentorLFX_DEV=true- Forces localhost connectionLFX_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-serverFor Production (connects to Render.com):
export LFX_API_KEY="production-api-key"
lfx-mcp-serverExamples
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"
1.0.0
7 months ago