MCPcopy Create free account
hub / github.com/alumnium-hq/alumnium

github.com/alumnium-hq/alumnium @0.21.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.21.0 ↗ · + Follow
1,967 symbols 5,373 edges 334 files 187 documented · 10% updated 8d ago0.21.0 · 2026-06-18★ 94912 open issues

Browse by type

Functions 1,532 Types & classes 423 Endpoints 12
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Logo Alumnium

End-to-end testing with AI



<a href="#installation">Installation</a>
·
<a href="#quick-start">Quick Start</a>
·
<a href="https://alumnium.ai/docs/">Documentation</a>

Alumnium is an AI-native library and MCP for end-to-end testing. It builds upon the existing test automation ecosystem and simplifies interactions with applications, providing more robust mechanisms for verifying assertions. It works with Appium, Playwright, or Selenium and gives you state-of-the-art capabilities.

https://github.com/user-attachments/assets/b1a548c0-f1e1-4ffe-bec9-d814770ba2ae

Installation

Python

pip install alumnium

TypeScript

npm install alumnium

MCP

# Using npx:
claude mcp add alumnium --env OPENAI_API_KEY=... -- npx alumnium mcp

# Using uvx:
claude mcp add alumnium --env OPENAI_API_KEY=... -- uvx alumnium mcp

Refer to documentation for installation details on other MCP clients.

Quick Start

Python

import os
from alumnium import Alumni
from selenium.webdriver import Chrome

os.environ["OPENAI_API_KEY"] = "..."

driver = Chrome()
driver.get("https://search.brave.com")

al = Alumni(driver)
al.do("type 'selenium' into the search field, then press 'Enter'")
al.check("page title contains selenium")
al.check("search results contain selenium.dev")
assert al.get("atomic number") == 34

al.quit()

TypeScript

import { Alumni } from "alumnium";
import { Builder } from "selenium-webdriver";

process.env.OPENAI_API_KEY = "...";

const driver = await new Builder().forBrowser("chrome").build();
const al = new Alumni(driver);

await driver.get("https://search.brave.com");
await al.do("type 'selenium' into the search field, then press 'Enter'");
await al.check("page title contains selenium");
await al.check("search results contain selenium.dev");
console.assert((await al.get("atomic number")) === 34);

await al.quit();

Java

import ai.alumnium.Alumni;
import org.openqa.selenium.chrome.ChromeDriver;

class AlumniumTest {
    public static void main(String...args) {
        ChromeDriver driver = new ChromeDriver();
        Alumni alumni = new Alumni(driver);
        driver.get("https://search.brave.com");
        alumni.act("type 'selenium' into the search field, then press 'Enter'");
        alumni.check("page title contains selenium");
        alumni.check("search results contain selenium.dev");
        alumni.quit();
    }
}

Check out documentation and more Python and TypeScript examples!

MCP

  1. Run your agent (Claude Code).
  2. Tell it to open the URL and test your application.

Contributing

See the contributing guidelines for information on how to get involved in the project and develop locally.

Acknowledgments

TestMu AI

Alumnium is a member of the TestMu AI Open Source Program, which supports the project community and development with the necessary tools. Thank you! 💚

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 1,034
Function 498
Class 262
Interface 158
Route 12
Enum 3

Languages

TypeScript57%
Java23%
Python20%

Modules by API surface

packages/typescript/src/Env.ts67 symbols
packages/python/src/alumnium/drivers/playwright_async_driver.py62 symbols
packages/typescript/src/telemetry/Tracer.ts56 symbols
packages/typescript/src/utils/typesScan.ts51 symbols
packages/typescript/src/drivers/PlaywrightDriver.ts49 symbols
packages/java/src/main/java/ai/alumnium/driver/PlaywrightDriver.java45 symbols
packages/python/src/alumnium/drivers/playwright_driver.py42 symbols
packages/typescript/src/drivers/SeleniumDriver.ts41 symbols
packages/java/src/main/java/ai/alumnium/client/HttpClient.java41 symbols
packages/python/src/alumnium/drivers/selenium_driver.py38 symbols
packages/java/src/main/java/ai/alumnium/driver/SeleniumDriver.java37 symbols
packages/typescript/scripts/build.ts36 symbols

For agents

$ claude mcp add alumnium \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page