Skip to main content

Jiuwen Migraine Diary

A local MCP server for recording self-reported headache experiences.

Tools

  • create_migraine_entry: save initial details and return a required question.
  • get_migraine_question: return one unanswered, unskipped question.
  • answer_migraine_question: validate and save an answer or explicit skip.
  • get_migraine_entry: retrieve an entry by ID.

Question definitions are bundled with the package and initialized in Chroma. Question selection and answer validation run in Python.

Runtime

Requires Python 3.12 or later and uvx available on PATH. The server launches the published chroma-mcp==0.2.6 package through uvx with pydantic==2.10.6 for compatibility. Internet access is needed for first-time dependency downloads. Chroma may download its default embedding model on first document writes.

Default database: ~/.personal-health-memory/chroma-mcp-diary

A custom database directory can be supplied with --data-dir.

The runtime is separate from Jiuwen's Python environment. No changes to Jiuwen core are required.

Data and limitations

Records persist in the configured database directory. Use the same directory when restarting to retrieve previous records.

This is a self-report diary, not a diagnostic or treatment system. It does not verify medical accuracy or recommend medications. A connected AI client may send chat and tool results to its model provider. The package does not provide input masking.

The current implementation has been tested on macOS with Python 3.12. Other operating systems have not yet been verified.

License

Apache-2.0. See LICENSE.

Metadata

Release files for jiuwen-migraine-diary 0.2.0

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

Source distribution (sdist)

Source distribution for jiuwen-migraine-diary 0.2.0
File Size Uploaded Provenance Actions
jiuwen_migraine_diary-0.2.0.tar.gz 12.6 kB Without provenance Details for jiuwen_migraine_diary-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jiuwen-migraine-diary 0.2.0
File Interpreter ABI Platform Actions
jiuwen_migraine_diary-0.2.0-py3-none-any.whl Python 3 none any Details for jiuwen_migraine_diary-0.2.0-py3-none-any.whl

Total release size: 26.7 kB

Release files / jiuwen_migraine_diary-0.2.0.tar.gz

Download URL jiuwen_migraine_diary-0.2.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a96f0edea228ae3cc7e6c9073e501dcbba8879d959e41ad389c4ece724562da6
BLAKE2b-256 checksum
How to use checksums
15f50b161f7566f289114c00b9da9712ba085bfcc120a464e90d255b0f376d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / jiuwen_migraine_diary-0.2.0-py3-none-any.whl

Download URL jiuwen_migraine_diary-0.2.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7935fe4142b15bb8f1683247852f65208f63662a74499dea94b5e46c8f2a0c1
BLAKE2b-256 checksum
How to use checksums
039370d8a522f49cd6bac84d01a6640ec9b3bfc5ffb33935cbebf860faa2d073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for jiuwen-migraine-diary 0.2.0

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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