# Akf

> Akf is an MCP server for security. Stamp and check trust metadata on files so agents can skip re-verifying work. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI
- **Website:** https://akf.dev
- **Repository:** https://github.com/hmakt99/akf/tree/HEAD/packages/mcp-server-akf
- **MCP Registry name:** io.github.HMAKT99/akf
- **Categories:** [security](https://ai-powered.com/categories/security), [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-18

## About

The argument made in the README is economic: stamping a file costs about 15 tokens while re-verifying it costs about 15,000, so agents stamp what they have verified and the next agent calls a check and builds on it.

The check returns one of four states, OK, LOW, STALE or UNSTAMPED. Ten tools stamp metadata onto over 20 file formats, embed or extract it in DOCX, PDF, HTML and images, compute a claim's effective trust score, validate .akf files, scan for AKF metadata, run a compliance audit against frameworks including EU AI Act, SOX, HIPAA, GDPR, NIST and ISO 42001, and run ten AI-specific threat detections.

On newer MCP versions, file results carry a trust summary under an experimental dev.akf/trust metadata key, with status, score, evidence, agent and age in days. It also supports agent cards, A2A export and per-agent trust breakdowns for multi-agent teams. It installs with pip and runs over stdio.

## Features

- **One-line trust check:** Reports OK, LOW, STALE or UNSTAMPED for a file.
- **File stamping:** Attaches trust metadata to 20+ formats.
- **Compliance audit:** Checks against EU AI Act, SOX, HIPAA, GDPR, NIST and ISO 42001.
- **Threat detection:** Runs 10 AI-specific security detections.
- **Embed and extract:** Read or write metadata in DOCX, PDF, HTML and images.
- **Multi-agent support:** Agent cards, A2A export and delegation trust ceilings.

## Good for

- Mark a report as verified with confidence and evidence
- Let a second agent trust a checked file
- Audit documents for compliance metadata
- Scan a file for suspicious AKF metadata

## Install

### Claude Code (Terminal)

```sh
claude mcp add akf -- uvx mcp-server-akf
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "akf": {
      "command": "uvx",
      "args": [
        "mcp-server-akf"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "akf": {
      "command": "uvx",
      "args": [
        "mcp-server-akf"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "akf": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-akf"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "akf": {
      "command": "uvx",
      "args": [
        "mcp-server-akf"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "akf": {
      "command": "uvx",
      "args": [
        "mcp-server-akf"
      ]
    }
  }
}
```

## Tools

- `check_file`: One-line trust check: OK, LOW, STALE or UNSTAMPED.
- `create_claim`: Creates an AKF claim with trust metadata.
- `validate_file`: Validates an .akf file against the spec.
- `scan_file`: Security scans a file for AKF metadata.
- `trust_score`: Computes the effective trust score for a claim.
- `stamp_file`: Stamps trust metadata onto a file.
- `audit_file`: Runs a compliance audit.
- `embed_file`: Embeds AKF metadata into DOCX, PDF, HTML, images and more.
- `extract_file`: Extracts AKF metadata from a supported format.
- `detect_threats`: Runs 10 AI-specific security detections.

## FAQ

### How do I install it?

pip install mcp-server-akf, then add python -m mcp_server_akf to your client config.

### What does the status mean?

OK, LOW, STALE or UNSTAMPED, computed live so changes after verification show up.

### Which Python version?

3.10 or later.

### Which clients?

Claude Desktop, Claude Code, Cursor and Windsurf are named.

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

Run this command in your terminal: claude mcp add akf -- uvx mcp-server-akf

### What are the best alternatives to Akf?

The closest alternatives to Akf are REA, AiSOC, redamon, x64dbg-mcp-server and Agent Roast.

## Where this comes from

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

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [SSRS2](https://ai-powered.com/mcp/ssrs2): SSRS2 is an MCP server for files and documents.

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