
utility mcp
一个用于获取 NREL API 实用费率数据的 Azure 函数。
Repository Info
About This Server
一个用于获取 NREL API 实用费率数据的 Azure 函数。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Utility MCP Azure Function
This project is an Azure Function (Python) that exposes an HTTP endpoint to fetch utility rate data from the NREL API. It is designed to be called by a React app, Copilot, or any client via HTTP.
Usage
- Deploy as an Azure Function App.
- Call the endpoint
/api/UtilityRatesFunction?lat=LAT&lon=LONwith your latitude and longitude. - Returns utility data as JSON from the NREL API.
Environment
- Python 3.12 (3.6–3.11 recommended for Azure)
- Azure Functions Core Tools
Security
- The NREL API key is hardcoded for demo; move to environment variables for production.
References
- NREL Utility Rates API
- Azure Functions Python
- Model Context Protocol
Quick Start
Clone the repository
git clone https://github.com/jrthartwig/utility-mcpInstall dependencies
cd utility-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.