Koskamo

Stockmarket Loans MCP

A free, read-only MCP server that provides published US broker margin rates by tier, allows ranking brokers at any balance, and calculates the real cost of borrowing against stocks using simple-interest arithmetic.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Stockmarket Loans MCP logo, by Stockmarket LoansVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-01Operated by Stockmarket Loans
MCP endpoint (Streamable HTTP)
https://stockmarket.loans/mcp
Vendor documentation

What you can do with it

  • Retrieve a specific broker's published margin schedule including balance tiers and base rates
  • Compare all major US brokers to find the lowest margin rate for a specific loan amount
  • Calculate the total interest cost of borrowing a specific amount over a set number of months

Source and maintenance

Vendor evidenceRegistry 1.2026.1101.1

Protocol and capabilities

Server
stockmarket-loans 1.0.0
MCP protocol
2025-06-18
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Stockmarket Loans (stockmarket.loans) answers questions about what it costs to borrow against a stock portfolio: each US broker's published margin rate schedule, a side-by-side ranking at any loan balance, and the interest cost of a balance over a number of months. Every rate is copied from the broker's own margin rate page or fee schedule (source URL and the broker's printed date on each result); rates were last checked against those pages on 2026-10-24. Interactive Brokers rates follow its USD benchmark plus the printed spread and update when a newer benchmark reading is available. Results are published rates and simple-interest arithmetic, not a quote, an offer, a recommendation of any broker or investment advice; brokers sorted only by printed rate. Brokers change rates without notice and the broker's disclosure governs. Borrowing on margin can force sales without notice and losses can exceed the amount invested. Stockmarket Loans is an independent website, not a broker-dealer, lender or investment adviser, and is not affiliated with any broker. Data downloads and methods: https://stockmarket.loans/data/

Tools

3 advertised

get_margin_rates — Margin rates for a broker
Advertised by the server during the last successful anonymous check.
Advertised read-only

One broker's published margin rate schedule: every balance tier with its annual rate and the broker's own wording for how it is set, the base rate and its date, whether tiers blend, maintenance and minimum-equity notes, the schedule date, our check date and the broker's source URL. A family name like "Interactive Brokers" returns each of its plans.

get_margin_rates input schema
{
  "type": "object",
  "required": [
    "broker"
  ],
  "properties": {
    "broker": {
      "type": "string",
      "maxLength": 60,
      "minLength": 2,
      "description": "Broker name, e.g. \"Schwab\", \"Fidelity\", \"Interactive Brokers\", \"Robinhood\"."
    }
  },
  "additionalProperties": false
}
get_margin_rates annotations
{
  "title": "Margin rates for a broker",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
compare_brokers — Compare broker margin rates at a balance
Advertised by the server during the last successful anonymous check.
Advertised read-only

Every compared broker's published annual margin rate on one loan balance, ranked from lowest to highest (ties shared), with the tier that applies, the yearly interest at that rate, schedule dates and source links. Brokers that print no rate at that balance are listed separately with the reason.

compare_brokers input schema
{
  "type": "object",
  "required": [
    "balance"
  ],
  "properties": {
    "balance": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 1,
      "description": "Margin loan (debit balance) in US dollars, e.g. 100000."
    }
  },
  "additionalProperties": false
}
compare_brokers annotations
{
  "title": "Compare broker margin rates at a balance",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
borrowing_cost — Cost of borrowing against stocks
Advertised by the server during the last successful anonymous check.
Advertised read-only

What a margin loan costs over a number of months at every compared broker's published rate, as the site's margin interest calculator works it: rate, interest per month, total over the period and the extra cost versus the lowest rate, simple interest on a flat balance. Optionally adds a rate you were quoted (an SBLOC offer or a negotiated margin rate) or narrows the table to one broker.

borrowing_cost input schema
{
  "type": "object",
  "required": [
    "balance"
  ],
  "properties": {
    "broker": {
      "type": "string",
      "maxLength": 60,
      "minLength": 2,
      "description": "Optional: show only this broker (plus the lowest rate and any quoted rate), e.g. \"Schwab\"."
    },
    "months": {
      "type": "integer",
      "default": 12,
      "maximum": 120,
      "minimum": 1,
      "description": "How many months the balance is held, 1 to 120. Default 12."
    },
    "balance": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 1,
      "description": "Amount borrowed in US dollars, e.g. 250000."
    },
    "quoted_rate": {
      "type": "number",
      "maximum": 40,
      "minimum": 0.01,
      "description": "Optional annual rate in percent you were quoted, e.g. 6.5, ranked beside the brokers."
    }
  },
  "additionalProperties": false
}
borrowing_cost annotations
{
  "title": "Cost of borrowing against stocks",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
376 ms
95th percentile latency
376 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 376 ms · metadata changed · 3 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http stockmarket-loans-mcp https://stockmarket.loans/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add stockmarket-loans-mcp --url https://stockmarket.loans/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable stockmarket-loans-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "stockmarket-loans-mcp": {
      "url": "https://stockmarket.loans/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "stockmarket-loans-mcp": {
      "type": "streamableHttp",
      "url": "https://stockmarket.loans/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start stockmarket-loans-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "stockmarket-loans-mcp": {
      "type": "http",
      "url": "https://stockmarket.loans/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http stockmarket-loans-mcp https://stockmarket.loans/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "stockmarket-loans-mcp": {
      "url": "https://stockmarket.loans/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "stockmarket-loans-mcp": {
      "serverUrl": "https://stockmarket.loans/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Stockmarket Loans MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Stockmarket Loans MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing