Skip to main content

ynosis-agent

Ynosis Agent API 用の 公開クライアント(CLI / Python MCP)。

リポジトリは非公開です。ソース clone は不要です。

CLI

pip install ynosis-agent
export YNOSIS_AGENT_API_KEY='yna_...'   # マイページ → … → Agent API で発行
ynosis-agent search --q 草津 --limit 5
ynosis-agent parse-prompt transcript.txt --out prompt.json
ynosis-agent parse transcript.txt --llm-json llm_result.json --for-register
ynosis-agent register payload.json --image photo.jpg

施設登録の推奨: 重複確認 → 既存なら編集依頼(認定・タグ不足時も追記)→ 新規のみ Places 候補から座標を選ぶ。MCP ツール: find_existing_facility, prepare_facility_for_register, remediate_duplicate_facility 等。詳細は CHANGELOG.md。

接続先の既定は https://ynosis.jp(リダイレクトを追います)。

MCP

アプリに設定を貼るだけ。詳細・トラブルシュートは https://ynosis.jp/notes/usage-037。

Cursor など Node がある場合(推奨): npm の別パッケージ。

npx -y ynosis-agent-mcp
{
  "mcpServers": {
    "ynosis-agent": {
      "command": "npx",
      "args": ["-y", "ynosis-agent-mcp"],
      "env": {
        "YNOSIS_AGENT_API_KEY": "yna_REPLACE_ME",
        "YNOSIS_AGENT_API_BASE": "https://ynosis.jp"
      }
    }
  }
}

Python / uv がある場合: このパッケージの extra。uv(uvx)は別途インストールが必要です。ターミナルで which uvx が通らないと、Cursor からも起動しません。

uvx --from ynosis-agent[mcp] ynosis-agent-mcp
{
  "mcpServers": {
    "ynosis-agent": {
      "command": "uvx",
      "args": ["--from", "ynosis-agent[mcp]", "ynosis-agent-mcp"],
      "env": {
        "YNOSIS_AGENT_API_KEY": "yna_REPLACE_ME",
        "YNOSIS_AGENT_API_BASE": "https://ynosis.jp"
      }
    }
  }
}

貼ったあと Cursor を再起動し、Customize → MCPs で有効か、チャットのツール一覧に search_facilities が出るかを確認してください。スレッド作り直しは必須ではありません。

uv が無い場合の Python 常設: pip install 'ynosis-agent[mcp]' のあと command を ynosis-agent-mcp にする。

運営向け: PyPI 公開

cd packages/ynosis-agent
python -m build
twine upload dist/*

バージョンは pyproject.toml の version を上げてからビルドする。

Metadata

Release files for ynosis-agent 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ynosis-agent 0.3.4
File Size Uploaded Provenance Actions
ynosis_agent-0.3.4.tar.gz 42.7 kB Without provenance Details for ynosis_agent-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ynosis-agent 0.3.4
File Interpreter ABI Platform Actions
ynosis_agent-0.3.4-py3-none-any.whl Python 3 none any Details for ynosis_agent-0.3.4-py3-none-any.whl

Total release size: 94.3 kB

Release files / ynosis_agent-0.3.4.tar.gz

Download URL ynosis_agent-0.3.4.tar.gz
Size 42.7 kB
Tags Source
SHA-256 checksum
How to use checksums
035129e0c2c33cea199fb4701aba5582b37e680989291b3e504e872f2a86e6a3
BLAKE2b-256 checksum
How to use checksums
aae990d2e56d1218fbeda62574afba00fa6810b2d81deae30d44be2b27324458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / ynosis_agent-0.3.4-py3-none-any.whl

Download URL ynosis_agent-0.3.4-py3-none-any.whl
Size 51.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49d274f933b5fcae6029e09368213803b5637d93002a83be5e527a4ba75bb4dd
BLAKE2b-256 checksum
How to use checksums
13720a863c401ea70e8632214557d2230dc05a98a431244050aa8f6f8e82bd28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for ynosis-agent 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page