Skip to main content

MCP server exposing koreafilings.com's x402-paid DART summary API as a tool for Claude Desktop, Cursor, Continue, and other MCP clients.

Project description

koreafilings-mcp

MCP server that turns koreafilings.com into a callable tool for Claude Desktop, Cursor, Continue, and any other MCP client.

Ask your agent things like "Summarise DART filing 20260424900874" and it will pay 0.005 USDC on Base via x402, fetch the AI summary, and hand it back as structured data.

Tools

tool payment what it does
get_pricing free Current per-endpoint prices, wallet address, network, USDC contract.
get_disclosure_summary 0.005 USDC English summary, importance score (1–10), event type, ticker tags for one DART receipt number. Includes the on-chain settlement tx hash.

Quickstart — Claude Desktop

  1. Install (requires uv):

    uv tool install koreafilings-mcp
    
  2. Open Claude Desktop → Settings → Developer → Edit Config, and add:

    {
      "mcpServers": {
        "koreafilings": {
          "command": "uv",
          "args": ["tool", "run", "koreafilings-mcp"],
          "env": {
            "KOREAFILINGS_PRIVATE_KEY": "0x_your_test_wallet_key",
            "KOREAFILINGS_NETWORK": "base-sepolia"
          }
        }
      }
    }
    
  3. Restart Claude Desktop. A koreafilings tool should now appear in the 🔧 menu.

  4. Ask: "Summarise DART disclosure 20260424900874". Claude calls get_disclosure_summary, the MCP server signs an EIP-3009 authorization with your key, pays 0.005 USDC on Base Sepolia, and returns the English summary plus a BaseScan tx link.

Configuration

env var required default notes
KOREAFILINGS_PRIVATE_KEY for paid tools 0x-prefixed 32-byte hex; signs the x402 payment locally. The key never leaves the MCP server process.
KOREAFILINGS_NETWORK no base-sepolia base-sepolia or base. Must match the server's advertised 402 response or the SDK aborts before signing.
KOREAFILINGS_BASE_URL no https://api.koreafilings.com Override for self-hosted deployments.

get_pricing works without a private key — use it to confirm the network and wallet before funding the payer.

Local development

git clone https://github.com/OldTemple91/korea-filings-api.git
cd korea-filings-api
uv venv mcp/.venv
source mcp/.venv/bin/activate
uv pip install -e mcp/
KOREAFILINGS_PRIVATE_KEY=0x... koreafilings-mcp  # stdio; pipe to an MCP client

Inspect interactively with the official MCP Inspector:

npx @modelcontextprotocol/inspector uv run koreafilings-mcp

Security notes

  • The MCP server is trusted with a wallet private key — only ever use a burner wallet funded with the test USDC you intend to spend.
  • On Base Sepolia all amounts are testnet value. On base mainnet each tool call moves real USDC.
  • The SDK signs locally; the key is not transmitted to koreafilings.com or the facilitator. Only the signed authorization goes on the wire.

Links

MIT-licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

koreafilings_mcp-0.2.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

koreafilings_mcp-0.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file koreafilings_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: koreafilings_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for koreafilings_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c1297cf9fdbaf865f16d97538cbbabeb00aa267e0e7a684b4bacbdec3ef1deef
MD5 1fe694adcd8abc8e015637cf77a1b9fd
BLAKE2b-256 400f1bb6e9e9462e9dc191c9b0b5b5b61ff233bbd7b558d9861bdd350f484bb3

See more details on using hashes here.

File details

Details for the file koreafilings_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for koreafilings_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf36318f801b296643496de9fd48e8c4922adfe7345af40bfdda18ce4232ddfc
MD5 b42a02e25c108141926b88a10edaace4
BLAKE2b-256 011dd5ef837f34cd1022024191b6ded1684b43709ca1645b8ca5a1be40f3a037

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page