EVE ESI Tool

EVE ESI Tool

An MCP server that integrates EVE Online's ESI API with AI assistants to enable natural language interaction with character data, market information, and assets. It provides 22 tools for managing skills, wallet balances, ship fittings, and more directly through AI-powered clients.

Category
Visit Server

README

EVE ESI Tool ๐Ÿš€

An EVE Online ESI API interface with a Model Context Protocol (MCP) server for AI agent integration. Connect your EVE character to Claude, Augment Code, Cursor, or any MCP-compatible AI assistant โ€” then ask questions like "What's in my cargo hold?", "Suggest a Hookbill fit for solo FW", or "What are my most valuable assets?"


Architecture

graph TB
    subgraph AI["AI Clients"]
        A[Claude Desktop]
        B[Augment Code]
        C[Cursor]
        D[Claude Code CLI]
    end

    subgraph MCP["MCP Server ยท mcp_server.py"]
        E["22 Tools\nโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€\nCharacter ยท Skills ยท Assets\nWallet ยท Fittings ยท Market\nUniverse"]
    end

    subgraph LIB["eve_esi library"]
        F["auth.py\nOAuth2 SSO + PKCE"]
        G["client.py\nESI HTTP Client\nauto token refresh"]
        H["endpoints/\nassets ยท characters ยท fittings\nmarket ยท skills ยท universe ยท wallet"]
    end

    subgraph EVE["EVE Online"]
        I["ESI API\nesi.evetech.net"]
        J["SSO\nlogin.eveonline.com"]
    end

    A & B & C & D -->|"stdio / MCP protocol"| E
    E --> G
    G --> H
    F -->|"tokens.json"| G
    G -->|"HTTPS + JWT Bearer"| I
    F -->|"PKCE / Auth Code flow"| J

OAuth2 Authentication Flow

sequenceDiagram
    participant U as You
    participant CLI as cli.py
    participant Browser as Browser
    participant SSO as EVE SSO
    participant ESI as ESI API

    U->>CLI: python cli.py login
    CLI->>Browser: Open auth URL (PKCE challenge)
    Browser->>SSO: EVE login + scope approval
    SSO->>CLI: Redirect โ†’ localhost:8182/callback?code=...
    CLI->>SSO: POST /token (exchange code)
    SSO->>CLI: access_token + refresh_token
    CLI->>CLI: Store encrypted in tokens.json
    Note over CLI,ESI: All future requests auto-refresh token
    CLI->>ESI: GET /characters/{id}/
    ESI->>CLI: Character data โœ“

Prerequisites

  • Python 3.11+
  • An EVE Online account
  • A registered EVE developer application (free โ€” takes 2 minutes at developers.eveonline.com)

Installation

git clone https://github.com/yourname/eve-esi-tool
cd eve-esi-tool
pip install -e .

Step 1 โ€” Register an EVE Application

  1. Go to developers.eveonline.com โ†’ sign in โ†’ Applications โ†’ Create Application
  2. Set Connection Type โ†’ Authentication & API Access
  3. Set Callback URL โ†’ http://localhost:8182/callback
  4. Add whichever ESI scopes you want (see Scopes Reference below)
  5. Copy your Client ID and optionally Client Secret

PKCE vs Secret: If you omit client_secret from config.yaml, the tool uses PKCE (safer for desktop apps). If you include it, it uses the standard Authorization Code flow with Basic Auth.


Step 2 โ€” Configure

cp config.example.yaml config.yaml

Edit config.yaml:

eve_sso:
  client_id: "YOUR_CLIENT_ID_HERE"
  client_secret: "YOUR_SECRET_HERE"   # optional โ€” remove for PKCE-only
  callback_url: "http://localhost:8182/callback"
  scopes:
    - "esi-skills.read_skills.v1"
    - "esi-skills.read_skillqueue.v1"
    - "esi-characters.read_blueprints.v1"
    - "esi-assets.read_assets.v1"
    - "esi-wallet.read_character_wallet.v1"
    - "esi-fittings.read_fittings.v1"
    - "esi-fittings.write_fittings.v1"
    - "esi-markets.read_character_orders.v1"
    - "esi-industry.read_character_jobs.v1"
    - "esi-location.read_location.v1"
    - "esi-location.read_ship_type.v1"
    - "esi-clones.read_clones.v1"
    - "esi-clones.read_implants.v1"
    - "esi-contracts.read_character_contracts.v1"
    - "esi-universe.read_structures.v1"

token_storage:
  path: "tokens.json"

Step 3 โ€” Log In

python cli.py login

A browser window opens for EVE SSO. After you approve, your tokens are saved to tokens.json. Run this once per character. You can authenticate multiple characters โ€” all tools accept an optional character_id parameter.


CLI Reference

python cli.py login    # Authenticate a character via EVE SSO
python cli.py chars    # List all authenticated characters
python cli.py info     # Show character info (corp, alliance, etc.)
python cli.py skills   # Show skill summary (total SP, top skills)
python cli.py wallet   # Show ISK wallet balance
python cli.py queue    # Show skill training queue

Step 4 โ€” Connect to Your AI Tool

The MCP server uses stdio transport โ€” the AI client launches it as a subprocess and communicates over stdin/stdout.

Augment Code (VS Code)

Open your VS Code user settings (Ctrl+Shift+P โ†’ "Preferences: Open User Settings (JSON)") and add:

{
  "augment.advanced": {
    "mcpServers": {
      "eve-esi": {
        "command": "python",
        "args": ["C:/path/to/eve-esi-tool/mcp_server.py"],
        "cwd": "C:/path/to/eve-esi-tool"
      }
    }
  }
}

Then reload VS Code (Ctrl+Shift+P โ†’ "Developer: Reload Window"). The EVE ESI tools will be available in Agent mode automatically.

Windows tip: Use forward slashes / or double backslashes \\ in the path.


Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS. Create the file if it doesn't exist:

{
  "mcpServers": {
    "eve-esi": {
      "command": "python",
      "args": ["/path/to/eve-esi-tool/mcp_server.py"],
      "cwd": "/path/to/eve-esi-tool"
    }
  }
}

Restart Claude Desktop. You'll see a ๐Ÿ”จ hammer icon in the chat input bar when MCP tools are loaded. Click it to see all available tools.

Enable developer mode: In Claude Desktop โ†’ Settings โ†’ Developer โ†’ Enable Developer Mode to see the config file path for your OS.


Cursor

Add to .cursor/mcp.json in your project root, or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "eve-esi": {
      "command": "python",
      "args": ["/path/to/eve-esi-tool/mcp_server.py"],
      "cwd": "/path/to/eve-esi-tool"
    }
  }
}

Enable MCP in Cursor Settings โ†’ Features โ†’ MCP โ†’ Enable MCP.


Claude Code (CLI)

# Add the server
claude mcp add eve-esi python /path/to/eve-esi-tool/mcp_server.py

# Or add with working directory
claude mcp add eve-esi --cwd /path/to/eve-esi-tool python mcp_server.py

# Verify it's registered
claude mcp list

Available MCP Tools

mindmap
  root((EVE ESI\nMCP Tools))
    Character
      list_authenticated_characters
      get_character_info
      get_character_location
      get_character_ship
    Skills
      get_skills_summary
      get_skill_queue
      get_character_attributes
      get_active_implants
    Assets
      get_assets_list
      search_assets
    Wallet
      get_wallet_balance
      get_wallet_journal
    Fittings
      get_ship_fittings
      save_ship_fitting
    Market
      get_market_orders
      check_item_price
      get_blueprints_list
      get_industry_jobs_list
    Universe
      lookup_item_type
      search_item_type
      lookup_solar_system
      resolve_eve_names
Tool Description
list_authenticated_characters List all characters logged in via CLI
get_character_info Name, corp, alliance, birthday, security status
get_character_location Current solar system
get_character_ship Ship currently flying
get_skills_summary Total SP, unallocated SP, all trained skills
get_skill_queue Skills in queue with finish times
get_character_attributes Int/Mem/Per/Wil/Cha + remap availability
get_active_implants Implants currently plugged in
get_assets_list All owned items with location/quantity
search_assets Search assets by item type name
get_wallet_balance ISK balance
get_wallet_journal Recent wallet transactions
get_ship_fittings All saved fittings in-game
save_ship_fitting Save a new fitting to the game โœ๏ธ
get_market_orders Character's active sell/buy orders
check_item_price Best buy/sell prices in any region (default: Jita)
get_blueprints_list All blueprints with ME/TE/runs info
get_industry_jobs_list Active/completed manufacturing & research jobs
lookup_item_type Full type info + dogma attributes for any item ID
search_item_type Find item IDs by name
lookup_solar_system System info (security, planets, stargates)
resolve_eve_names Convert any EVE IDs โ†’ names

โœ๏ธ save_ship_fitting is the only tool that writes to your account. All others are read-only.


Example Conversations

Once connected, you can ask natural language questions:

"What ship is my character flying and where are they?"
"Show me my top 10 most valuable assets"
"What skills am I training and when does the queue finish?"
"Check the Jita price for a Raven Navy Issue"
"Do I have any active industry jobs?"
"What are my saved fittings for a Rifter?"
"Suggest a solo PvP fit for my Caldari Navy Hookbill based on my skills"
"How much would I make if I sold all my blueprints in Jita?"

Multi-Character Support

You can authenticate multiple EVE characters. All MCP tools accept an optional character_id parameter:

# Log in a second character
python cli.py login

# List all authenticated characters
python cli.py chars

When character_id is omitted, the server uses the first authenticated character. Specify a character ID to query a specific one:

"Check the wallet balance for character 98765432"


Project Structure

eve-esi-tool/
โ”œโ”€โ”€ mcp_server.py          # MCP server โ€” 22 tools for AI agents
โ”œโ”€โ”€ cli.py                 # Command-line interface
โ”œโ”€โ”€ config.example.yaml    # Config template
โ”œโ”€โ”€ config.yaml            # Your config (not committed)
โ”œโ”€โ”€ tokens.json            # OAuth tokens (not committed)
โ”œโ”€โ”€ scripts/               # Temporary/ad-hoc scripts (auto-cleaned)
โ”œโ”€โ”€ eve_esi/
โ”‚   โ”œโ”€โ”€ auth.py            # OAuth2 SSO + PKCE flow + token storage
โ”‚   โ”œโ”€โ”€ client.py          # ESI HTTP client with auto token refresh
โ”‚   โ”œโ”€โ”€ config.py          # Config loading (YAML)
โ”‚   โ””โ”€โ”€ endpoints/
โ”‚       โ”œโ”€โ”€ assets.py      # Character assets
โ”‚       โ”œโ”€โ”€ characters.py  # Character info, location, ship
โ”‚       โ”œโ”€โ”€ fittings.py    # Ship fittings CRUD
โ”‚       โ”œโ”€โ”€ market.py      # Orders, prices, blueprints, industry
โ”‚       โ”œโ”€โ”€ skills.py      # Skills, queue, attributes, implants
โ”‚       โ”œโ”€โ”€ universe.py    # Type info, system info, name resolution
โ”‚       โ””โ”€โ”€ wallet.py      # Wallet balance and journal
โ””โ”€โ”€ CLAUDE.md              # Agent instructions (Claude Code / Cursor)

Scopes Reference

Scope Enables
esi-skills.read_skills.v1 get_skills_summary
esi-skills.read_skillqueue.v1 get_skill_queue, get_character_attributes
esi-clones.read_implants.v1 get_active_implants
esi-assets.read_assets.v1 get_assets_list, search_assets
esi-wallet.read_character_wallet.v1 get_wallet_balance, get_wallet_journal
esi-fittings.read_fittings.v1 get_ship_fittings
esi-fittings.write_fittings.v1 save_ship_fitting
esi-markets.read_character_orders.v1 get_market_orders
esi-characters.read_blueprints.v1 get_blueprints_list
esi-industry.read_character_jobs.v1 get_industry_jobs_list
esi-location.read_location.v1 get_character_location
esi-location.read_ship_type.v1 get_character_ship
esi-contracts.read_character_contracts.v1 Future: contract tools
esi-universe.read_structures.v1 Asset locations in player structures

Security Notes

  • tokens.json and config.yaml are excluded from git via .gitignore
  • Tokens are stored locally โ€” never sent to any third party
  • The MCP server only runs when your AI client is active
  • All ESI calls go directly to esi.evetech.net over HTTPS
  • The only write operation is save_ship_fitting โ€” no ISK or items can be moved

Troubleshooting

No authenticated characters error

python cli.py login   # run this first

400 Bad Request during login

  • Make sure your callback_url in config.yaml exactly matches what you set in the EVE developer portal

MCP tools not showing in Augment/Claude

  • Check that the command path points to the correct Python executable
  • Make sure you've run pip install -e . in the project directory
  • Reload VS Code / restart Claude Desktop after editing the config

Scope errors on specific tools

  • Re-run python cli.py login after adding new scopes to config.yaml
  • Make sure the new scopes are also added to your EVE developer application

Built with FastMCP ยท ESI data from EVE Online ESI

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured