Canadian Corporate Filings MCP
README.md
# AlphaManifold Canadian Corporate Filings MCP
Read-only **Streamable HTTP** Model Context Protocol (MCP) server for Canadian public-company regulatory disclosures across **TSX**, **TSXV**, **CSE**, and **Cboe Canada (NEO)**, including **260+ delisted historical corporate issuers** back to 1926.
- **Live MCP Endpoint:** `https://mcp.alphamanifold.ca/mcp`
- **Documentation:** [alphamanifold.ca/docs/mcp](https://alphamanifold.ca/docs/mcp)
- **Get a Free API Key:** [alphamanifold.ca/app/](https://alphamanifold.ca/app/) (`Account & Settings -> Profile -> MCP API Key`)
## What It Covers
- **3,250+ Canadian public corporate issuers** (TSX, TSXV, CSE, Cboe Canada / NEO, plus 260+ delisted historical issuers; ETFs, mutual funds, and CDRs are excluded).
- **1.87M+ indexed filings** across 12 canonical `FilingGroup` categories (Financial Statements, MD&A, AIF, NI 43-101 Technical Reports, Material Change Reports, News Releases, Prospectuses, Proxy Materials, Material Contracts, and more) in English and French.
- **10M+ extracted financial tables** with typed 2D cell coordinates, explicit `rowSpan`/`colSpan`, header flags, `(^n)`/`(_n)` script escapes, TSV previews, 5-state verification flags, and pinpoint `citationUrl` links to the source PDF page.
- **470,000+ linked cross-period table chains** for stepping across quarterly and annual statements.
- **Strict point-in-time `asOfDate` filtering** on every tool (`YYYY-MM-DD` inclusive through `23:59:59.999Z` UTC, or ISO-8601 UTC exclusive timestamp) over `submittedDate` and ingestion timestamps to prevent look-ahead bias.
---
## Authentication & Quotas
1. Create a free account at [alphamanifold.ca/app/](https://alphamanifold.ca/app/).
2. Open **Profile -> MCP API Key** and generate a Bearer key (`am_live_<key_id>_<secret>`).
3. Pass it as an HTTP header on every request:
`Authorization: Bearer am_live_<your_key>`
| Plan | Monthly Price (CAD) | Rolling 30-Day UTC Tool Calls | Rate Limits |
| :--- | :--- | :--- | :--- |
| **Free** | `$0` | `50` MCP tool calls / 30 days | `120 req/min` (burst `30`), max `10` concurrent |
| **Pro** | `$80/mo` (`$70/mo` annual) | `1,000` MCP tool calls / 30 days (+ optional overage credits at `2` credits/call) | `120 req/min` (burst `30`), max `10` concurrent |
- Only `tools/call` consumes your 30-day tool call quota. Protocol handshake and discovery calls (`initialize`, `ping`, `tools/list`, `resources/list`, `resources/read`) do not consume tool call quota.
- Transport is stateless `POST /mcp` (`256 KiB` max request, `64 KiB` UTF-8 max response; JSON-RPC batch arrays and `GET`/`DELETE` SSE streams are not used).
- Supported `MCP-Protocol-Version` headers: `2025-03-26`, `2025-06-18`, `2025-11-25` (default), `2026-07-28`.
---
## Client Setup
### 1. Claude Code
```bash
claude mcp add --transport http alphamanifold \
https://mcp.alphamanifold.ca/mcp \
--header "Authorization: Bearer am_live_<your_key>"
```
Verify inside Claude Code with `/mcp` or ask:
> "Resolve Baytex Energy and show its latest 5 financial filings with documentIds."
### 2. Claude Desktop
**Option A (Recommended, Connectors UI):**
1. Open Claude Desktop **Settings -> Connectors -> Add custom connector**.
2. Enter the server URL `https://mcp.alphamanifold.ca/mcp` and configure the `Authorization` header with `Bearer am_live_<your_key>`.
**Option B (`claude_desktop_config.json` via `mcp-remote` bridge):**
For versions of Claude Desktop that only accept local `stdio` commands in `claude_desktop_config.json`, bridge to Streamable HTTP with `mcp-remote`:
```json
{
"mcpServers": {
"alphamanifold": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.alphamanifold.ca/mcp",
"--header",
"Authorization:${ALPHAMANIFOLD_AUTH_HEADER}"
],
"env": {
"ALPHAMANIFOLD_AUTH_HEADER": "Bearer am_live_<your_key>"
}
}
}
}
```
### 3. Cursor
Add to `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (global):
```json
{
"mcpServers": {
"alphamanifold": {
"type": "http",
"url": "https://mcp.alphamanifold.ca/mcp",
"headers": {
"Authorization": "Bearer am_live_<your_key>"
}
}
}
}
```
### 4. Windsurf
Add to `~/.codeium/windsurf/mcp_config.json` (or open Cascade MCP settings):
```json
{
"mcpServers": {
"alphamanifold": {
"serverUrl": "https://mcp.alphamanifold.ca/mcp",
"headers": {
"Authorization": "Bearer ${env:ALPHAMANIFOLD_API_KEY}"
}
}
}
}
```
Set `ALPHAMANIFOLD_API_KEY="am_live_<your_key>"` in your shell environment (or inline `"Bearer am_live_<your_key>"` if you prefer).
### 5. Python & Direct HTTP (`cURL`)
#### Python (`httpx`)
```python
import os
import httpx
ENDPOINT = "https://mcp.alphamanifold.ca/mcp"
HEADERS = {
"Authorization": f"Bearer {os.environ['ALPHAMANIFOLD_API_KEY']}",
"Content-Type": "application/json",
"MCP-Protocol-Version": "2025-11-25",
}
def mcp_call(method: str, params: dict | None = None, req_id: int = 1) -> dict:
payload = {"jsonrpc": "2.0", "id": req_id, "method": method}
if params is not None:
payload["params"] = params
resp = httpx.post(ENDPOINT, headers=HEADERS, json=payload, timeout=30.0)
resp.raise_for_status()
return resp.json()
# 1. List available tools (does not consume 30-day tool quota)
tools = mcp_call("tools/list")
print([t["name"] for t in tools["result"]["tools"]])
# 2. Resolve an issuer by ticker
company = mcp_call(
"tools/call",
{
"name": "resolve_company",
"arguments": {"query": "RY", "exchange": "TSX", "asOfDate": "2025-12-31"},
},
req_id=2,
)
print(company["result"]["structuredContent"]["candidates"][0])
# 3. Pull a multi-period recurring table series by concept
series = mcp_call(
"tools/call",
{
"name": "get_table_series",
"arguments": {
"ticker": "RY",
"exchange": "TSX",
"concept": "consolidated balance sheet",
"maxPeriods": 4,
"asOfDate": "2025-12-31",
},
},
req_id=3,
)
print(series["result"]["content"][0]["text"][:500])
```
#### cURL
```bash
# List tools
curl -s -X POST "https://mcp.alphamanifold.ca/mcp" \
-H "Authorization: Bearer am_live_<your_key>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
# Call resolve_company
curl -s -X POST "https://mcp.alphamanifold.ca/mcp" \
-H "Authorization: Bearer am_live_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "resolve_company",
"arguments": {"query": "BTE", "exchange": "TSX"}
}
}'
```
---
## Available Tools (7 Read-Only Tools)
All 7 tools accept an optional `asOfDate` parameter (`YYYY-MM-DD` inclusive through `23:59:59.999Z` UTC, or ISO-8601 UTC exclusive timestamp).
1. **`resolve_company`**: Resolve an active or delisted Canadian corporate issuer by ticker (`RY`, `GIB.A`), alias, English/French name, or `companyId`.
- Parameters: `query` (required), `exchange?` (`TSX` | `TSXV` | `CSE` | `NEO`), `limit?` (`1..10`, default `5`), `asOfDate?`.
2. **`list_filings`**: List and cursor-paginate regulatory filings for an issuer or across the market. Supports incremental polling via `ingestedSince`, `hasTables`, `hasParsedText`, and hides NI 52-109 / fee boilerplate by default (`excludeBoilerplate: true`).
- Parameters: `companyId?`, `ticker?`, `exchange?`, `filingGroup?`, `filingType?`, `submittedFrom?`, `submittedTo?`, `ingestedSince?`, `hasTables?`, `hasParsedText?`, `excludeBoilerplate?`, `limit?` (`1..50`, default `20`), `cursor?`, `asOfDate?`.
3. **`search_filings_and_tables`**: Hybrid lexical + semantic search across structured tables, prose passages, and filings (English and French), or similarity-by-ID exploration (`similarToAnnotationId` or `similarToBlockId` with `similarityScope`: `peers` | `same_company_history` | `cross_type_bridge`).
- Parameters: provide exactly one of `query`, `similarToAnnotationId`, or `similarToBlockId`; plus `similarityScope?`, `companyId?`, `ticker?`, `documentId?`, `exchange?`, `filingGroup?`, `year?` (`1995..2040`), `scope?` (`all` | `tables` | `prose` | `filings`), `sort?` (`relevance` | `date_desc` | `date_asc`), `submittedFrom?`, `submittedTo?`, `excludeBoilerplate?`, `suppressEntityBind?`, `excludeFlagged?`, `limit?` (`1..25`, default `10`), `asOfDate?`.
4. **`get_filing_outline`**: Inspect filing metadata, ordered extracted table inventory (with `verificationStatus` and recurring `groupId`), and hierarchical section-heading TOC.
- Parameters: `documentId` (required), `parentSectionRef?` (`sec:<index>`), `maxDepth?` (`1..4`), `asOfDate?`.
5. **`get_tables`**: Fetch `1..10` structured financial tables by `annotationIds` or within a `documentId`. Returns lossless `cells` grid, TSV, `verificationStatus`, `isVerified`, page confidence, and `citationUrl`.
- Parameters: `annotationIds?`, `documentId?`, `page?`, `pageStart?`, `pageEnd?`, `excludeFlagged?`, `rowOffset?` (`0..50000`), `maxRows?` (`1..500`, default `150`), `asOfDate?`.
6. **`get_table_series`**: Retrieve up to `20` chronological periods of a recurring statement or MD&A schedule by `annotationId`/`groupId` OR discover by issuer (`companyId` or `ticker`) plus `concept`.
- Parameters: `annotationId?`, `groupId?`, `companyId?`, `ticker?`, `exchange?`, `concept?`, `excludeFlagged?`, `maxPeriods?` (`1..20`, default `8`), `maxRowsPerTable?` (`1..250`, default `100`), `asOfDate?`.
7. **`read_filing_text`**: Stream cleaned narrative prose and table footnotes by `sectionRef`, `sectionRefs` (`1..5` sections), `page`, or `pageStart`..`pageEnd` (max `5` pages and `<= 24 KB` UTF-8 per call).
- Parameters: `documentId` (required), `sectionRef?`, `sectionRefs?`, `page?`, `pageStart?`, `pageEnd?`, `includeInlineTables?` (default `true`), `asOfDate?`.
## MCP Documentation Resources (`resources/read`)
- `alphamanifold://docs/table-standard`: Canonical 2D `cells` grid, `rowSpan`/`colSpan`, structural flags, and `(^n)`/`(_n)` script escapes.
- `alphamanifold://docs/filing-taxonomy`: All 12 `FilingGroup` categories, 37 `filingType` codes, Canadian exchanges, and boilerplate filters.
- `alphamanifold://docs/verification-states`: Closed 5-state `VerificationStatus` enum (`VERIFIED`, `LIKELY_CORRECT`, `CORRECTED`, `PENDING_AUTOMATED_CHECK`, `FLAGGED`), `excludeFlagged`, and `isPartialDocument`.
---
## Example Prompts
- *"Resolve Osisko Gold Group and search its NI 43-101 technical reports for mineral resource grade tables with page citations."*
- *"Pull the last 8 quarters of Royal Bank of Canada (RY) consolidated balance sheets as of 2025-12-31 using `asOfDate`."*
- *"Find Baytex Energy's latest Q3 debt maturity note table and read the surrounding footnote text for leverage covenants."*
## Support & Legal
- Docs: [alphamanifold.ca/docs/mcp](https://alphamanifold.ca/docs/mcp)
- Privacy Policy: [alphamanifold.ca/privacy](https://alphamanifold.ca/privacy)
- Terms of Service: [alphamanifold.ca/terms](https://alphamanifold.ca/terms)
- Contact: `support@alphamanifold.ca`
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues