# AgentFilings

> AgentFilings is a paid MCP server for stock market data. SEC filings, XBRL earnings and Form 4 insider trades as clean JSON for agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://api.agentfilings.com
- **Repository:** https://github.com/edwardk91/agentfilings-api
- **MCP Registry name:** com.agentfilings/mcp
- **Categories:** [stock market data](https://ai-powered.com/categories/stock-market-data), [financial data](https://ai-powered.com/categories/financial-data)
- **Listing updated:** 2026-11-21

## About

AgentFilings serves structured US SEC EDGAR data to AI agents over HTTP and MCP: filings, earnings derived from XBRL company facts, and Form 4 insider transactions for about 2,800 filers.

It pays attention to details that are easy to get wrong with SEC data. Restated figures reconcile to the latest filed value, each period keeps the fiscal year from its original filing, and ticker-to-CIK resolution rejects post-reorganisation shells.

Agents can pay per call in USDC on Base using x402 with no account, or use an unlimited plan on one API key. A free probe endpoint reports what data exists for a ticker before anything is spent.

## Features

- **Latest filings:** Returns recent filings for a ticker, optionally filtered by form type.
- **Earnings summary:** Structured earnings from XBRL company facts, with no PDF parsing.
- **Insider transactions:** Form 4 transactions for a ticker since a given date.
- **x402 pay per call:** Agents pay in USDC on Base with no signup or key.
- **Free probe:** Shows coverage, freshness and per-endpoint pricing before paying.
- **Restatement handling:** Periods reconcile to the most recently filed value.

## Good for

- Pull the latest 10-K or 8-K for a ticker
- Get structured quarterly earnings without parsing PDFs
- Track insider buying and selling
- Let an autonomous agent pay per query
- Check data coverage before buying

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://api.agentfilings.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.agentfilings.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.agentfilings.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://api.agentfilings.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://api.agentfilings.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://api.agentfilings.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.agentfilings.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.agentfilings.com/mcp
```

Enter a Name (for example "AgentFilings"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.agentfilings.com/mcp"
    }
  }
}
```

## FAQ

### How much does a call cost?

Filings latest is $0.01 and earnings summary is $0.02 per call; the probe and health endpoints are free.

### Do I need an account?

Not for x402 pay-per-call. An Unlimited plan on card payment uses one API key.

### Where does the data come from?

SEC EDGAR, refreshed on a daily rotation.

### How many companies are covered?

About 2,800 US SEC filers.

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

Run this command in your terminal: claude mcp add --transport http mcp https://api.agentfilings.com/mcp

### What are the best alternatives to AgentFilings?

The closest alternatives to AgentFilings are EDGAR Answers, SEC EDGAR, SEC Filings to Markdown for AI Agents, Regulatory Filings MCP and SEC EDGAR Filings and XBRL Facts (Apify Actor).

## Where this comes from

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

## Alternatives

- [EDGAR Answers](https://ai-powered.com/mcp/edgar-answers): EDGAR Answers is a freemium MCP server for legal and government.
- [SEC EDGAR](https://ai-powered.com/mcp/sec-edgar-3): SEC EDGAR is a freemium MCP server for legal and government.
- [SEC Filings to Markdown for AI Agents](https://ai-powered.com/mcp/sec-filings-to-markdown-for-ai-agents): SEC Filings to Markdown for AI Agents is an MCP server for files and documents.
- [Regulatory Filings MCP](https://ai-powered.com/mcp/regulatory-filings-mcp): Regulatory Filings MCP is a paid MCP server for stock market data.
- [SEC EDGAR Filings and XBRL Facts (Apify Actor)](https://ai-powered.com/mcp/sec-edgar-filings-and-xbrl-facts-apify-actor): SEC EDGAR Filings and XBRL Facts (Apify Actor) is a paid MCP server for legal and government.
- [SEC EDGAR Insider Trades & Financials](https://ai-powered.com/mcp/sec-edgar-insider-trades-and-financials): SEC EDGAR Insider Trades & Financials is a free MCP server for legal and government.
- [Filings Intel MCP](https://ai-powered.com/mcp/filings-intel-mcp-2): Filings Intel MCP is a free MCP server for financial data.
- [AgentDiet SEC EDGAR Public Company 10-K/10-Q Financial Intelligence](https://ai-powered.com/mcp/agentdiet-sec-edgar-public-company-10-k-10-q-financial-intel): AgentDiet SEC EDGAR Public Company 10-K/10-Q Financial Intelligence is an MCP server for finance and payments.

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