# Tewip

> Tewip is an MCP server for developer tools. Triage failing tests, check whether tests can fail, and read what a migration will do. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, VS Code, API
- **Repository:** https://github.com/hmamut39/tewip
- **MCP Registry name:** io.github.hmamut39/tewip
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-15

## About

Named for the Uyghur word for a healer, the project aims to prove software work. It sorts each failing test into a real bug, flaky test, environment, test data or a changed selector, says whether a test could ever fail, breaks code on purpose to see if tests notice, reads what a database migration will do, and gives one verdict on whether a change is done. Every answer says whether a rule, the model or a person decided.

Its distinctive stance is refusing to guess. It says cannot say instead, will not narrow a test run it cannot prove safe, and ends reports with what it did not check. Rules-only accuracy across eight labelled datasets ranges from 72.9 percent to 100 percent on small sets, and the model layer is described as weak.

It covers Node, Python, Java, Go, .NET, Ruby, PHP and Rust runners, plus Playwright in depth, with an editor extension, a GitHub Action and the MCP server (25 tools). OpenAI is optional; Ollama keeps code on your machine.

## Features

- **Failure triage:** Classifies failures as bug, flake, environment, data or selector.
- **Mutation check:** Breaks code to see whether tests notice.
- **Migration reader:** Explains what a migration does to a live database.
- **Evidence labelling:** Each answer names its deciding layer.
- **Honest gaps:** Reports end with what was not checked.
- **Many runners:** Jest, pytest, JUnit, Go, .NET, RSpec and more.

## Good for

- Explain why CI failed on a branch
- Decide which flaky tests to quarantine
- Assess migration risk
- Check whether tests would catch a regression

## Install

### Claude Code (Terminal)

```sh
claude mcp add tewip --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y tewip-ai
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tewip": {
      "command": "npx",
      "args": [
        "-y",
        "tewip-ai"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "tewip": {
      "command": "npx",
      "args": [
        "-y",
        "tewip-ai"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "tewip": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tewip-ai"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "tewip": {
      "command": "npx",
      "args": [
        "-y",
        "tewip-ai"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tewip": {
      "command": "npx",
      "args": [
        "-y",
        "tewip-ai"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Does Tewip need an API key?

No; OpenAI is optional and Ollama works with no key.

### How accurate is Tewip?

Rules-only accuracy is 72.9 to 100 percent across eight datasets.

### How do I run Tewip?

Install tewip-ai from npm and run tewip mcp.

### How do I add Tewip to Claude Code?

Run this command in your terminal: claude mcp add tewip --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y tewip-ai

### What are the best alternatives to Tewip?

The closest alternatives to Tewip are Git Qa, TestMu AI (formerly LambdaTest), Kilotest, Tapp and Victauri.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Git Qa](https://ai-powered.com/mcp/git-qa): Git Qa is an open-source MCP server for developer tools.
- [TestMu AI (formerly LambdaTest)](https://ai-powered.com/mcp/testmu-ai-formerly-lambdatest): TestMu AI (formerly LambdaTest) is a freemium MCP server for developer tools.
- [Kilotest](https://ai-powered.com/mcp/kilotest): Kilotest is an MCP server for developer tools.
- [Tapp](https://ai-powered.com/mcp/tapp): Tapp is an open-source MCP server for developer tools.
- [Victauri](https://ai-powered.com/mcp/victauri): Victauri is an MCP server for developer tools.
- [TurnSignal for Playwright](https://ai-powered.com/mcp/turnsignal-for-playwright): TurnSignal for Playwright is a freemium MCP server for browser automation.
- [Universal Test Framework](https://ai-powered.com/mcp/universal-test-framework): Universal Test Framework is an open-source MCP server for developer tools.
- [TestWatch](https://ai-powered.com/mcp/testwatch): TestWatch is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/tewip
