SolidInvoice
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Portfolio risk from supplied data or a synthetic example: VaR, ES, stress, credit, FRTB.
作者による原文
これは「AI につながるアプリ」タブにあり、スターを使わず次の順で並びます
| 1. Claude のコネクタディレクトリにある | いいえ | |
|---|---|---|
| 2. チームが実際に試した | いいえ | |
| 3. タイのユーザー向け | いいえ | |
| 4. スターを除いた利用状況 | 20/100 | 人気 0 · 新しさ 12 · 応答中 8 · ユーザーのいいね +0 |
| 5. 登録日 | 2026-11-10 |
ユーザーのいいね: 0 · 順位に最大 5 点(1 人 1 点)加算。お金では買えません。
品質: 基本チェック 3/5 項目に合格(表示のみ、並び順には不使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Risk Desk をインストールして。https://mcp.popnx.com/i/avidquant-riskdesk.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/5 合格 · 質問内容は提供元のサーバー(riskdesk.avidquant.com)を通ります · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 2 分
キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
CustomizeConnectors
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Risk Deskhttps://riskdesk.avidquant.com/mcpClaude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
+ConnectorsRisk Desk
Risk Desk を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Risk Desk を使っていると言うか、回答に Risk Desk のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT との接続はプランしだい
フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ
Plugins+Add custom MCP server
名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します
Risk Deskhttps://riskdesk.avidquant.com/mcp新しいチャットを開き、入力前にプラグインの一覧から Risk Desk を選びます
Risk Desk を使って、私に何ができるか教えて、1 つやってみせて✓ ChatGPT が Risk Desk を使っていると言うか、回答に Risk Desk のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code につなげます · 約 2 分
キー不要、インストール不要
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --transport http --scope user riskdesk https://riskdesk.avidquant.com/mcpRisk Desk が一覧にあり、接続済みと表示されれば OK です
Risk Desk を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Risk Desk を使っていると言うか、回答に Risk Desk のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 2 分
キー不要、インストール不要
Risk Desk を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Risk Desk を使っていると言うか、回答に Risk Desk のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 2 分
キー不要、インストール不要
Risk Desk を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Risk Desk を使っていると言うか、回答に Risk Desk のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://riskdesk.avidquant.com/mcpJSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --transport http --scope user riskdesk https://riskdesk.avidquant.com/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"riskdesk": {
"url": "https://riskdesk.avidquant.com/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"riskdesk": {
"type": "http",
"url": "https://riskdesk.avidquant.com/mcp"
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
ツールの名前と説明は、サーバーが2026年11月16日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。
risk_desk_statusCheck the Risk Desk data mode, the public example, the size limits and the sign convention before requesting any figure. No market data feed, no broker connection and no hosted XVA exist.
risk_tailHistorical VaR and Expected Shortfall over supplied horizon P&L. Report degraded status and the loss sign convention before the numbers. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this
risk_exposureGross and net exposure, leverage against NAV and concentration for signed linear positions in one stated base currency. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a
risk_stressApply explicit asset shocks to all linear positions. No scenario probability is inferred or attached. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_tail_modelsVaR and ES side by side: historical, normal, Student-t, EVT, GARCH filtered historical, GARCH-EVT and GARCH-t. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_backtestBacktest a VaR (and optional ES) series against realised P&L: Kupiec, Christoffersen, Basel zone and Acerbi-Szekely Z2. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licen
risk_derivatives_greeksCash delta, gamma, vega, theta and rho of a book of linear positions and European options. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_derivatives_gridFull revaluation of an options book over a spot and vol shock grid, against delta-gamma-vega. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_derivatives_historicalHistorical full-revaluation P&L, VaR and ES of an options book under supplied spot and vol moves. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_covarianceSample, EWMA or Ledoit-Wolf covariance, volatility and correlation of a supplied return history. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_var_attributionParametric normal VaR and ES with Euler contributions and incremental VaR per position. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_es_attributionHistorical-simulation ES with Euler contributions per position. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_factor_exposureFactor betas and the split of portfolio variance into systematic and idiosyncratic parts. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_limitsGrade a limit set against exposure, tail and stress results already returned by Risk Desk. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_what_ifApply proposed trades to a book, recompute exposure, stress and tail, and grade limits after. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_liquidityDays to liquidate, holdings by day, spread cost and liquidity-adjusted VaR. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_stress_replayReplay a dated historical window from the caller's own price levels on linear positions. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_reverse_stressThe most plausible shock under a supplied covariance that produces a target loss. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_scenario_scaleScale a scenario so the book loses a target amount. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_saccrBasel SA-CCR exposure at default for one netting set (CRE52), with every intermediate figure. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_exposure_profilePeak PFE, EPE, Effective EE and Effective EPE from a supplied simulated exposure profile. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_credit_asrfVasicek asymptotic single risk factor credit VaR, expected and unexpected loss. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_credit_copulaSeeded one-factor Gaussian copula Monte Carlo credit VaR and ES for a finite portfolio. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_frtb_imccFRTB liquidity-adjusted, stress-scaled ES and IMCC from supplied ES figures (MAR33). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_frtb_ima_capitalFRTB IMA aggregate capital, multiplier, amber-desk surcharge and RWA (MAR33, MAR32.9). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_frtb_plaFRTB P&L attribution test: Spearman and Kolmogorov-Smirnov metrics and the desk zone (MAR32). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_frtb_backtestFRTB VaR backtesting exception counts at 97.5% and 99%, desk verdict or bank zone (MAR32). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_frtb_sbm_fxFRTB standardised sensitivities-based FX delta and vega capital (MAR21). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.
risk_scenario_libraryThe dated historical windows Risk Desk knows, with sources. Dates only; no prices are shipped. Replay one with risk_stress_replay and your own price levels.
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック
公開者(avidquant.com)がリポジトリの所有者(Iman)ではありません。別の人が登録した可能性があります
コードの最終更新:10 日前
GitHubがライセンスの種類を判別できませんでした。ファイルを開いて確認してください
118ミリ秒で応答(HTTP 200)
サインイン不要
29件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/avidquant-riskdesk)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック5項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は10 日前、最新バージョン(0.2.0)がレジストリに届いたのは10 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
同じカテゴリには:SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.
Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.
Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.
48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
| これ Risk Desk | SolidInvoice | Signal8 | Journalit | Beancount.io | Tapetide - Indian Stock Market MCP | |
|---|---|---|---|---|---|---|
| 動く場所 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | はい | いいえ | いいえ | はい |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/5 | 4/6 | 5/5 | 4/4 | 4/4 | 5/5 |
| ライセンス | NOASSERTION | MIT | MIT | NOASSERTION | MIT | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Risk Desk is a portfolio risk engine that computes loss measures from supplied files and reports the method, units and assumptions with every result. From a P&L sample it computes historical Value at Risk (VaR) and Expected Shortfall (ES), six model-based estimates of the same two measures, and four backtests of a forecast record. From signed linear positions it computes gross and net exposure, stress P&L, Euler risk attribution, limit grades, a pre-trade what-if and liquidity-adjusted VaR. For books with European options it computes cash Greeks and full revaluation through the Option Desk engine. It also computes SA-CCR exposure at default, portfolio credit VaR and FRTB capital components from figures the caller supplies. Counterparty exposure and XVA come from a local Open Source Risk Engine (ORE) project.
The stated limits are part of the output. Scenarios carry no probability, no horizon is rescaled, and regulatory figures are calculations over supplied inputs. The software reads no market data and sends no order.
The CLI and 30 local MCP tools call the same runtime functions. An agent and a person therefore obtain the same numbers, with the same provenance, units, assumptions and degraded flag attached. A local dashboard shows the core results in a browser, and 14 plugin skills cover these tasks and setup.
riskdesk report writes this page from the synthetic energy book in examples/. The inputs are synthetic examples. They are not market data and not a record of any position. The page states its sign convention and prints its degraded flag whether or not the flag is set. It embeds its own styling and charts, so it opens with no network.
The captures show the dark default. A light mode follows the system setting of the reader.
The dashboard serves the same numbers over a loopback socket in five views, namely overview, exposure, stress, tail risk and counterparty XVA. The inputs shown are synthetic examples, not market data. The server binds a loopback address and refuses any other, makes no outbound request, and reads no path from the request. Every view prints the sign convention and the degraded flag whether or not the flag is set. A view whose input was absent states the absence in words that do not imply a zero.
The exposure view draws the sign convention. The ladder places each of the 6 legs of the synthetic energy book on the side of the zero line that its sign gives. A short position is therefore visible without the minus sign. The concentration chart is ordered and names the total of which each share is a part.
The requirements are Git and a supported Python. pyproject.toml declares 3.11 or later. The fixed-version dependency set and the ORE wheel were tested on CPython 3.13, macOS ARM64.
git clone https://github.com/Iman/agent-driven-risk-desk-and-skills.git
cd agent-driven-risk-desk-and-skills ./install.sh ./demo.sh
Then, for the web view:
.venv/bin/riskdesk dashboard # http://127.0.0.1:8899
install.sh creates .venv, installs the package with its development extra, attempts the optional ORE extra, reports the outcome, and runs the tests. The package needs the Option Desk engine, which pip installs from PyPI. INSTALL.md gives the command that checks its hash. demo.sh runs the core commands over the example books and prints the meaning of each result. The 29 example input files cover every command. Neither script prints colour, neither reaches the network beyond pip, and both exit non-zero on any failure.
The container route needs no Python on the host, and the examples are part of the image.
docker build -t risk-desk .
docker run --rm --user "$(id -u):$(id -g)" \ -v "$PWD/artifacts:/artifacts" risk-desk demo docker run --rm risk-desk # what this image can do
--user is required on Linux. The image runs as a fixed non-root uid, and a Linux bind mount keeps its host ownership, so without the flag the container cannot write into the mounted directory. The entrypoint refuses that case, and each other unusable mount, with its own exit code. INSTALL.md lists the codes.
The image contains the core scope. The ORE extra depends on the platform. On python:3.13-slim pip resolves open-source-risk-engine 1.8.16.0 at linux/amd64 and reports no distribution of any version at linux/arm64. The build therefore attempts the extra and records the outcome, and docker run risk-desk prints that status. Where the extra is absent, xva is refused before any worker starts. To make a missing extra fail the build, build with --build-arg WITH_XVA=require.
The runtime is a normal Python install, and the plugin tells an agent where to find it. Installing the plugin does not install the runtime. Install the runtime first with ./install.sh. Then make riskdesk-mcp reachable. Either activate .venv in the environment that launches the agent, or give the client the absolute path of .venv/bin/riskdesk-mcp.
| Runtime | Install the plugin | Manifest it reads |
|---|---|---|
| Claude Code | /plugin marketplace add Iman/agent-driven-risk-desk-and-skills then /plugin install risk-desk@risk-desk | .claude-plugin/plugin.json, listed in .claude-plugin/marketplace.json |
| Codex | Configure the plugin through a Codex marketplace, or add its runtime with codex mcp add riskdesk -- "$PWD/.venv/bin/riskdesk-mcp". Hosted setup is in OpenAI connections. | .codex-plugin/plugin.json, which points at skills/ and .mcp.json |
Both manifests describe the same plugin and point at the same 14 skill directories. A validation test fails the build if either stops matching the directories on disk. Use the MCP server covers a client without a plugin and the hosted endpoint.
With the plugin installed, an agent accepts requests such as these.
| Request | Skill | Tool it calls |
|---|---|---|
| "Here is a year of daily P&L in GBP. What is my 99% one-day VaR and Expected Shortfall, and is the sample big enough to say?" | risk-tail | risk_tail |
"Take examples/energy_book.json. What is my gross and net exposure, my leverage against NAV, and which asset is the biggest share of gross?" | risk-portfolio | risk_exposure |
"Apply the two shapes in examples/energy_stress.json and tell me the loss, the stressed NAV, and the three positions that hurt most in each." | risk-stress | risk_stress |
| "Run this ORE project and give me the CVA and DVA. Tell me first whether ORE reported any error and which adjustments were actually enabled." | risk-xva | risk_xva |
| "Put the historical VaR beside the normal, Student-t, EVT and GARCH estimates for this P&L, and backtest last year's VaR forecasts." | risk-tail, risk-backtest | risk_tail_models, risk_backtest |
| "My book holds calls and puts on two futures. What are its cash delta, gamma and vega, and what does a 10% fall with vol up five points do?" | risk-derivatives | risk_derivatives_greeks, risk_derivatives_grid |
| "Which positions drive the VaR, am I inside my limits, and what would selling half the largest leg do to them?" | risk-attribution, risk-limits | risk_var_attribution, risk_limits, risk_what_if |
| "Replay the 2022 gilt window on my prices, and find the most plausible move that loses 5 million." | risk-stress | risk_stress_replay, risk_reverse_stress |
| "Here is a CSV of my positions with market values in a column called MV. Turn it into a request and tell me what you had to repair." | risk-data-import | the tool for that contract |
Each skill states the sign convention and the degraded status before the numbers, because a loss figure cannot be read without them.
The plugin also carries 10 commands and 4 agents. The runtime discovers them by directory, and the manifest does not declare them.
| Command | Stated before any number |
|---|---|
/risk-tail | The observation count, the tail mass and the degraded status |
/risk-exposure | Gross before net, and the largest share of gross |
/risk-stress | The sign convention, and that no probability is attached |
/risk-xva | The ORE error level, and a refusal in place of a quote |
/risk-report | That an absent input is not a measure of zero |
/risk-dashboard | Loopback only, and the meaning of each refusal code |
/risk-backtest | Exceptions against expected, and that a high p-value is not proof |
/risk-limits | Breaches first, and that not evaluated is not within |
/risk-whatif | Before beside after, and that no trade is placed |
/risk-daily | Every degraded result and breach, and which inputs were synthetic |
The agents have these tasks.
risk-data-auditor checks whether the inputs support any conclusion.risk-reviewer tests whether a number can be trusted, as distinct from whether its arithmetic is right.risk-model-validator derives a model result again, backtests it and compares challenger models.stress-scenario-designer builds historical, hypothetical and reverse scenarios from the data of the caller and the dated library.The reviewer and the validator must state when they find no reason to doubt a result.
riskdesk dashboard serves the synthetic energy book by default, from examples/. It takes the same --input, --tail, --exposure and --xva flags as riskdesk report. It computes nothing of its own. The views come from the functions that the CLI and the MCP tools call, through the same shaping path as the saved report page. A test compares the two payloads field by field.
The dashboard serves one machine. It has no authentication, so it binds a loopback address and refuses any other host. Each failure has its own exit code and one sentence on stderr. The codes are 64 for a host that is not loopback, 66 for a missing input, 67 for an input that fails its contract, and 73 for a port already in use.
The XVA view never runs ORE. The adapter needs a trusted local project directory, a new output directory and a separate process. The view therefore reprints a result that the adapter already wrote, or states what is missing.
agent/ is a separate package, riskdesk-agent 0.2.0, the Risk Desk port of the Option Desk agent layer. It is not a dependency of riskdesk.
python -m pip install -e ./agent
python -m pip install "langgraph==1.2.19" # only for the graph
desk_tools() turns