Skip to main content

MCP server for Saxo Bank OpenAPI spec lookup with pitfalls guide (offline; no trading)

Project description

Saxo Bank OpenAPI MCP Server

A specialized Model Context Protocol (MCP) server acting as a reference manual and knowledge base for the Saxo Bank OpenAPI.

Version: 0.3.0 · Spec snapshot: 2026-07-08

Purpose

This server is not an execution client. It does NOT execute trades, place orders, or modify portfolios.

It helps AI agents generate Saxo Bank API code by combining:

  1. Rich endpoint specs from crawled spec/json (nested parameters, request/response samples).
  2. Critical warnings on dangerous endpoints (/orders, /positions).
  3. saxo://docs/pitfalls.md — survival guide for Saxo-specific quirks.

Tools

Tool Description
search_saxo_endpoints(query) Discover endpoints by keyword.
get_saxo_endpoint_spec(method, path, depth?) Parameters, samples, warnings.
get_saxo_schema_spec(schema_name, depth?) Drill into nested schemas.
get_saxo_workflow_guide(use_case) close_position or if_done_oco workflows.

Resources

URI Description
saxo://docs/pitfalls.md Netting, Stop/StopIfTraded, IsForceOpen, UIC, Precheck.

Installation

MCP (Cursor / Claude Desktop)

{
  "mcpServers": {
    "saxo-openapi": {
      "command": "uvx",
      "args": ["mcp-server-saxo-openapi"]
    }
  }
}

CLI fallback

uvx --from mcp-server-saxo-openapi saxo-doc-helper search-endpoints orders
uvx --from mcp-server-saxo-openapi saxo-doc-helper get-endpoint POST /trade/v2/orders --depth 1

What changed in 0.3.0

0.2.0 mistakenly used a single saxo_openapi.json for lookup (shallow schemas). 0.3.0 restores the rich spec/json index while keeping pitfalls and warnings from 0.2.0.

See CHANGELOG.md.

Known limitations

  • Warnings are advisory; agents may skip pitfalls.md.
  • response_parameters trees are sparse in some crawled specs; response_sample JSON is more reliable.
  • Pitfalls reflect practical experience; not a substitute for Saxo's official docs.

License

MIT — see LICENSE.

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

mcp_server_saxo_openapi-0.3.0.tar.gz (556.9 kB view details)

Uploaded Source

Built Distribution

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

mcp_server_saxo_openapi-0.3.0-py3-none-any.whl (627.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_saxo_openapi-0.3.0.tar.gz.

File metadata

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

File hashes

Hashes for mcp_server_saxo_openapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7094d24880fed671553afe6b4c1e8815028605df9a51a1f44899ac4e4ff5abd8
MD5 eb6b029fffa5380b217e17892750741f
BLAKE2b-256 b6848cfe83b865cb158aa9c2b8d5c0ae3f5b54da511f4f777251afbad3fa0f79

See more details on using hashes here.

File details

Details for the file mcp_server_saxo_openapi-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_saxo_openapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 653309597052391523332f07204d522a86c41cb57272fa09e69cf892b11a9f20
MD5 efa5f5fb70a8112fa93d602d37903016
BLAKE2b-256 9ef888c860032ba93f7356177698170cea0d2ab2c3046493ed5b115f297303c3

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