Skip to main content

MCP server for Codeforces Polygon API

Project description

Polygon MCP Server

MCP server for Polygon API (Codeforces Polygon).

Requirements

  • Python 3.10+
  • polygon_api==1.1.0a1

Install

From PyPI repository

pip install polygon-mcp-server

With uv:

uv pip install polygon-mcp-server

From the sources

Install the package (adds the polygon-mcp CLI):

pip install .

With uv:

uv pip install .

Or install the CLI tool into uv's tool environment:

uv tool install .

Run

Set credentials:

  • POLYGON_API_KEY
  • POLYGON_API_SECRET
  • Optional: POLYGON_API_URL
  • Optional: POLYGON_MCP_CONFIG to load stored credentials

Then start:

polygon-mcp

Logging

Logs are written to ~/.local/state/polygon-mcp/polygon-mcp.log (or $XDG_STATE_HOME/polygon-mcp/polygon-mcp.log if set). Override with POLYGON_MCP_LOG_FILE.

File output safety

Tools that write to disk only allow paths within:

  • the current project directory
  • /tmp
  • any extra roots in POLYGON_MCP_OUTPUT_ROOTS (colon-separated)

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

polygon_mcp_server-0.1.3.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

polygon_mcp_server-0.1.3-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file polygon_mcp_server-0.1.3.tar.gz.

File metadata

  • Download URL: polygon_mcp_server-0.1.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for polygon_mcp_server-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b72f12f3034afb53d73c4290cdf3725abc8b68e3d8387973fa26add910c43f35
MD5 cf92d4c0ddfd231540d0739e1b6fc373
BLAKE2b-256 241b79a9333098ddd33639b47c3d9fcb87c587210a36d98ca1645e3f7112e727

See more details on using hashes here.

File details

Details for the file polygon_mcp_server-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for polygon_mcp_server-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0959cf8354dae4acc3c587a2bbf0789ac2c7bbfc422842561301a0703886cef
MD5 016483e94c54e3b30eea20921b82b8ff
BLAKE2b-256 9b1cda4c4a0be3b035a27e58ab1c345dfbec734d10afb5ded15fca45a4db88a9

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