Ap MCP Server logo

Ap MCP Server

Access AP news content through MCP tools for search, trend analysis, recommendations, feeds, and content monitoring.

Install Ap MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ap-mcp-server@latest"
      ],
      "env": {
        "AP_API_KEY": "YOUR_VALUE_HERE",
        "AP_BASE_URL": "YOUR_VALUE_HERE",
        "AP_TIMEOUT": "YOUR_VALUE_HERE",
        "AP_RETRIES": "YOUR_VALUE_HERE",
        "AP_ENFORCE_PLAN": "YOUR_VALUE_HERE",
        "AP_DEBUG": "YOUR_VALUE_HERE",
        "AP_LOG_LEVEL": "YOUR_VALUE_HERE",
        "AP_CACHE_ENABLED": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y ap-mcp-server@latest

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The ap-mcp-server MCP server connects AI applications to the Associated Press Media API through the Model Context Protocol. It exposes 26 tools for searching and retrieving AP content, analyzing trends, finding related material, and managing content monitors. The server runs over standard input/output, uses an AP API key, and supports caching, pagination, retries, and configurable plan enforcement. Reach for it when an agent needs conversational access to AP news for research, analysis, curation, or journalism workflows.

Use cases

  • Search AP coverage from a conversational research assistant
  • Analyze current news trends by topic
  • Find related articles and multimedia content
  • Build breaking-news or content-monitoring workflows
  • Curate AP stories for an AI application

Key features

  • 26 MCP tools for the AP Media API
  • Natural-language search and query refinement
  • Trend analysis and content recommendations
  • Automatic pagination, retries, and rate-limit handling
  • Configurable caching and AP plan enforcement
  • 17 workflow-oriented MCP prompts

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · ap-mcp-server@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads247Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.

How Ap MCP Server works

What ap-mcp-server MCP server does

The ap-mcp-server MCP server exposes the Associated Press Media API to MCP-compatible AI applications. It gives an assistant a structured way to search AP content, retrieve current news, discover related material, examine trends, and work with content monitoring features.

The project is described as unofficial and requires access to the AP Media API. Its intended uses include news chatbots, research assistants, automated news analysis, content discovery, and journalism workflows. Natural-language requests can be translated by the connected AI client into searches and other API operations.

How it works

The server runs as a Node.js process and communicates with an MCP client over standard input/output. A client starts it with npx, passes the AP API key through the environment, and then makes MCP tool calls on behalf of the user or application.

Search requests can use multiple parameters and support filtering and sorting. The implementation also provides automatic pagination for larger result sets, caching with configurable time-to-live values, retries for failed requests, and handling for API rate limits.

The server includes 17 prompt templates for common workflows, including breaking-news searches, topic research, and multimedia discovery. These prompts reduce the need for an AI client to construct every API parameter directly.

Setup and configuration

Node.js 18 or newer and an Associated Press API key are required. Install-time configuration can use the npm package through a client definition such as:

config.json
{
  "command": "npx",
  "args": ["-y", "ap-mcp-server@latest"],
  "env": {
    "AP_API_KEY": "your_api_key_here"
  }
}

AP_API_KEY is required. AP_BASE_URL defaults to https://api.ap.org/media/v; AP_TIMEOUT defaults to 30,000 milliseconds; and AP_RETRIES defaults to three attempts. Plan enforcement is enabled by default through AP_ENFORCE_PLAN. Debugging, log level, verbose request logging, caching, and separate cache durations for trends and search results can also be configured with environment variables documented by the project.

Tools and capabilities

The ap-mcp-server MCP server provides 26 tools covering the AP Media API. Supported capability areas described in the README include:

  • Searching AP content with flexible parameters, filters, and sorting
  • Accessing live news feeds and updates
  • Identifying trending topics
  • Finding related articles and content recommendations
  • Creating and managing content alerts and monitors
  • Processing larger result sets through pagination and bulk operations
  • Refining broad searches with query suggestions and optimization
  • Recovering from API errors with retry guidance and rate-limit hints

The included prompts cover common tasks such as recent breaking-news searches, topic deep dives, and searches for photos, videos, graphics, or audio.

Limitations and notes

This project is an unofficial interface to the Associated Press Media API, so API access, plan permissions, rate limits, and available content remain dependent on AP. The default plan-enforcement setting adds in_my_plan=true to content requests, although that behavior can be configured.

Clients therefore need to be able to launch a local Node.js command. An API key must be supplied, and requests may be affected by AP service availability, configured timeouts, retry limits, and cache settings.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ap MCP Server

ap-mcp-server is an MCP server that connects AI applications to the Associated Press Media API. Its main tools support AP content search, live news access, trend analysis, related-content recommendations, and content monitoring. It runs locally through Node.js over standard input/output and authenticates requests with an AP API key.

Install it through an MCP client by running `npx -y ap-mcp-server@latest` and setting the `AP_API_KEY` environment variable.

Yes, ap-mcp-server works with Cursor through a standard stdio MCP configuration. Add the server definition to the relevant workspace MCP settings, use `npx -y ap-mcp-server@latest` as the command, and provide `AP_API_KEY` in the environment.

It requires an Associated Press API key in `AP_API_KEY`. The key is obtained through the AP API service and is passed to the server through the MCP client configuration.

Yes, it includes tools for creating and managing automated content alerts and monitors. The available monitoring behavior and content remain subject to the Associated Press Media API and the permissions of the configured account.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAp MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ap-mcp-server?style=directory)](https://allmcps.com/mcp/ap-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/ap-mcp-server"><img src="https://allmcps.com/api/badge/ap-mcp-server?style=directory" alt="Ap MCP Server on AllMCPs" /></a>