Skip to main content
Glama
kemalbgskr
by kemalbgskr
README.md
# Endoflife MCP Server

A Model Context Protocol (MCP) server that provides information about product lifecycles, release cycles, and End of Life (EOL) dates from [endoflife.date](https://endoflife.date).

## Features

- **list_products**: Get a list of all products supported by endoflife.date.
- **get_product_lifecycle**: Retrieve all release cycles for a specific product (e.g., nodejs, python, ubuntu).
- **get_specific_cycle**: Get detailed information for a specific version cycle of a product.

## Prerequisites

- [Node.js](https://nodejs.org/) (v18 or higher recommended)
- [npm](https://www.npmjs.com/)

## Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/kemalbgskr/endoflife-mcp.git
   cd endoflife-mcp
   ```

2. Install dependencies:
   ```bash
   npm install
   ```

3. Build the project:
   ```bash
   npm run build
   ```

## Usage

### Running Locally
You can run the server using `node`:
```bash
node build/index.js
```

### Configuration for Claude Desktop

To use this server with Claude Desktop, add the following to your `claude_desktop_config.json`:

#### Windows
```json
{
  "mcpServers": {
    "endoflife": {
      "command": "node",
      "args": ["C:/path/to/endoflife-mcp/build/index.js"]
    }
  }
}
```

#### macOS/Linux
```json
{
  "mcpServers": {
    "endoflife": {
      "command": "node",
      "args": ["/path/to/endoflife-mcp/build/index.js"]
    }
  }
}
```

## Tools

### 1. `list_products`
Lists all available product slugs.
- **Input**: None

### 2. `get_product_lifecycle`
Gets the full lifecycle data for a product.
- **Arguments**:
  - `product` (string, required): The slug of the product (e.g., `nodejs`).

### 3. `get_specific_cycle`
Gets detailed data for a specific version cycle.
- **Arguments**:
  - `product` (string, required): Product slug.
  - `cycle` (string, required): Release cycle version (e.g., `20`).

## License

MIT