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.0.tar.gz (9.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.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for polygon_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3cbb3498fc285d430a20a739ab89bbadfecfa3f85ceb64907512c9ad6354ec38
MD5 15168c87926723d064675299e388160f
BLAKE2b-256 242f2a292294d8a09c91e6b20a14e46c5d7dff8ee05cc67aecfe79e20fb21e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for polygon_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a51e25a291939c0d2a3e71e65eca06dc9fe8d17343504751d22d0d7fbb4cb767
MD5 5e066c84006d3ab67451213eb18639c3
BLAKE2b-256 4ac0bc66a7c5be4017bd58f68c91ff2af3a2d26625d2ddb52c0dd3ba1e34a836

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