This MCP server transforms the Associated Press Media API into an AI-optimized content intelligence resource, enabling conversational AI applications to access and analyze AP's news content through natural language interfaces.
From the registry: Model Context Protocol (MCP) server for the Associated Press Media API
Please install the `ap-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 18+** — Requires Node.js 18 or later
- **Get AP API key** — Obtain an Associated Press API key (https://api.ap.org)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","ap-mcp-server@latest"]
- required environment variables:
- `AP_API_KEY`: Your Associated Press API key (example: `<your_ap_api_key>`)
- optional environment variables:
- `AP_BASE_URL`: AP API base URL (example: `https://api.ap.org/media/v`)
- `AP_TIMEOUT`: Request timeout in ms (example: `30000`)
- `AP_RETRIES`: Retry attempts for failed requests (example: `3`)
- `AP_ENFORCE_PLAN`: Enforce in_my_plan=true for content requests (example: `true`)
- `AP_DEBUG`: Enable debug logging (example: `false`)
- `AP_LOG_LEVEL`: Log level (error, warn, info, debug) (example: `info`)
- `AP_VERBOSE_LOGGING`: Enable request/response logging (example: `false`)
- `AP_CACHE_ENABLED`: Enable intelligent caching (example: `true`)
- `AP_CACHE_TTL_TRENDS`: Trending topics cache TTL in ms (example: `300000`)
- `AP_CACHE_TTL_SEARCH`: Search results cache TTL in ms (example: `180000`)
Note: Unofficial MCP server wrapping the Associated Press Media API. 26 tools + 17 prompt templates.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.AP_API_KEYrequiredYour AP API keyMCP server for searching Airweave collections with natural language queries.