MCP EV Assistant Server

by Abiorh001

232 downloads Not rated yet
GitHub

About

A powerful server implementation for managing Electric Vehicle (EV) charging stations, trip planning, and resource management. This server provides a comprehensive set of tools and APIs for EV-related services.

Explore

- Locate EV charging stations by address, distance, and socket type
- Plan EV-friendly routes with automatic charging stop integration
- Consider vehicle range and current charge level
- Manage PDF documents with automatic text extraction
- Support resource subscriptions for real-time updates
- Provide interactive prompts for charging and route planning

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP EV Assistant Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

python -m venv .venv
source .venv/bin/activate  # On Linux/Mac

bash
uv sync

Create a .env file in your project root with the following variables:
bash
OPENCHARGE_MAP_API_KEY=your_opencharge_map_api_key
GOOGLE_MAP_API_KEY=your_google_map_api_key

Create or update servers_config.json:
json
{
"mcpServers": {
"ev_assistant": {
"command": "/home/$USER/path/mcp_learning/.venv/bin/python",
"args": ["/home/$USER/path/mcp_ev_assistant_server/ev_assistant_server.py"],
"env": {
"OPENCHARGE_MAP_API_KEY": "your_opencharge_map_api_key",
"GOOGLE_MAP_API_KEY": "your_google_map_api_key"
}
}
}
}
```

address

Location to search around (string, required)

max_distance

Search radius in kilometers (integer, required)

socket_type

Type of charging socket (string, required)

user_address

Starting location (string, required)

user_destination_address

Destination location (string, required)

1. charge_points_locator
- Purpose: Find EV charging stations near a location
- Parameters:
- address: Location to search around (string, required)
- max_distance: Search radius in kilometers (integer, required)
- socket_type: Type of charging socket (string, required)

2. ev_trip_planner
- Purpose: Plan an EV-friendly route
- Parameters:
- user_address: Starting location (string, required)
- user_destination_address: Destination location (string, required)
- socket_type: Preferred charging socket type (string, required)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp ev assistant server": {
            "mcp_ev_assistant_server": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    ".venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcp_ev_assistant_server": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            ".venv"
        ]
    }
}

A powerful server implementation for managing Electric Vehicle (EV) charging stations, trip planning, and resource management. This server provides a comprehensive set of tools and APIs for EV-related services.

Table of Contents

- Features - Installation - Configuration - Usage - API Reference - Resource Management - Error Handling - Development - Contributing - License

Features

1. EV Charging Station Services

- Charging Station Locator: Find nearby EV charging stations based on location and preferences - Socket Type Filtering: Search for specific charging socket types (CCS, CHAdeMO, Type 2, etc.) - Distance-based Search: Specify search radius for finding charging stations

2. Trip Planning

- Route Planning: Plan EV-friendly routes between locations - Charging Stop Integration: Automatically includes necessary charging stops - Range Consideration: Takes into account vehicle range and current charge level

3. Resource Management

- PDF Document Management: Handles EV-related PDF documents (user guides, manuals, etc.) - Resource Subscription: Supports resource subscription for real-time updates - Automatic Text Extraction: PDF text extraction with fallback mechanisms

4. Interactive Prompts

- Charging Station Search: Interactive prompts for finding charging stations - Charging Time Estimation: Calculate charging duration based on various parameters - Route Planning Assistance: Interactive route planning with charging considerations

Installation

1. Clone the Repository

git clone https://github.com/Abiorh001/mcp_ev_assistant_server.git
cd mcp_ev_assistant_server

2. Set Up Virtual Environment (Recommended)

```bash python -m venv .venv source .venv/bin/activate # On Linux/Mac
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.