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.2.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.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for polygon_mcp_server-0.1.2.tar.gz
Algorithm Hash digest
SHA256 904dbe3d8b75d2ee925b91a9e3b41eca51ee164c0cb267ffdb1e9a72d17e8f9c
MD5 f93185f7deeea0626be009d150949890
BLAKE2b-256 d8cef590cb9d44084032f49d2256099f4b1898255c894ebf59ca4302ecf5cb65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for polygon_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d05bc39ad7b46e6440f180f750a843482cb4d573ae8891d0d57608f4b2d441e7
MD5 02c39756cf8fdf4c4d1244dc8e90d41f
BLAKE2b-256 d9cbb0511e01d0aa1eac6eda103f155d434fb44bef30f6057ce19f99902ef454

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