# Ap MCP Server

> Ap MCP Server is an open-source MCP server. Model Context Protocol (MCP) server for the Associated Press Media API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/rbonestell/ap-mcp-server
- **MCP Registry name:** io.github.rbonestell/ap-mcp-server
- **Listing updated:** 2026-11-13

## About

Model Context Protocol (MCP) server for the Associated Press Media API

## Install

### Claude Code (Terminal)

```sh
claude mcp add ap-mcp-server --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y ap-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ap-mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ap-mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "ap-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ap-mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ap-mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ap-mcp-server"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Ap MCP Server free?

Yes. Ap MCP Server is open source, so you can use and self-host it for free.

### How do I add Ap MCP Server to Claude Code?

Run this command in your terminal: claude mcp add ap-mcp-server --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y ap-mcp-server

---
Source: https://ai-powered.com/mcp/ap-mcp-server
