HumanifyMe

v0.2.2
io.github.JoshMcQ/humanifyme Checked 2 days ago Published 2 months ago

Learns your writing voice locally and rewrites AI drafts so they sound like you.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

humanify_text

Rewrite a draft (usually AI-generated) so it reads in the user's own voice, using their stored style profile. The headline tool: call this whenever the user wants text to 'sound like me' or 'less AI'.

ParameterTypeDescription
draft *string
contextLabelstring
directivesarray
providerstring

humanify_record_feedback

Record whether a humanify_text rewrite sounded like the user. Pass the feedbackToken from that rewrite and a signal: 'accept' (sounded like me / used as-is), 'edit' (kinda — I tweaked it), or 'reject' (no — didn't sound like me). Optional short reason. This powers local quality metrics (humanify_metrics) and, only if the user opted in, anonymous aggregate counts.

ParameterTypeDescription
signal *string
token *string
editedTextstring
reasonstring

humanify_metrics

Show how well HumanifyMe is matching the user's voice, from their own recorded feedback: total rewrites, accept/edit/reject rates, "sounds like me" breakdown, per-context and per-provider counts, and p50/p95 latency. Local only; counts, never content. Optional `since` (ISO timestamp) windows the stats.

ParameterTypeDescription
sincestring

humanify_add_sample

Store a writing sample (something the user actually wrote) so HumanifyMe can learn their voice. Text must be at least 100 characters and carry at least one context label.

ParameterTypeDescription
labels *array
text *string

humanify_list_samples

List stored writing samples (previews truncated to 200 chars).

ParameterTypeDescription
labelstring

humanify_delete_sample

Delete a stored writing sample by id.

ParameterTypeDescription
id *string

humanify_get_profile

Return the user's current style profile, or null if none has been built.

humanify_build_profile

Build (or rebuild with force:true) the user's style profile from their stored samples. Needs at least 3 samples. Samples are redacted before being sent to the configured LLM provider.

ParameterTypeDescription
forceboolean

humanify_update_profile

Replace the style profile with an edited version (schema-validated). Use for manual tweaks; does not call any LLM.

ParameterTypeDescription
profile *object

humanify_delete_profile

Delete the current style profile. Samples are kept.

humanify_set_provider

Configure local Ollama and make it the default. Cloud API keys are intentionally rejected in MCP tool arguments because the host model can see them; configure cloud providers with the interactive `humanifyme setup` CLI instead.

ParameterTypeDescription
provider *string
baseUrlstring
modelstring

humanify_test_key

Confirm the configured API key works with a cheap (≤1 token) ping.

ParameterTypeDescription
providerstring

humanify_audit_list

List the most recent outbound requests HumanifyMe made (metadata only, never content): provider, route, payload size, draft length, success.

ParameterTypeDescription
limitinteger

humanify_wipe_all

Delete ALL HumanifyMe data: samples, profile, cache, audit log. Irrevocable. Requires confirm: "DELETE EVERYTHING".

ParameterTypeDescription
confirm *string

humanify_import_chat_export

Import writing samples from a ChatGPT or Claude data-export (.zip, conversations.json, or extracted directory). Only user-authored turns are kept; code-heavy turns are dropped; everything is redacted before storage. Call with commit:false first to preview 5 samples, then commit:true.

ParameterTypeDescription
path *string
commitboolean

humanify_import_text_files

Bulk-import writing samples from a directory (or single file) of .txt/.md/.docx the user wrote — notes, blog drafts, an Obsidian vault. Requires a default context label. Files are redacted before storage; oversize files split at paragraph boundaries.

ParameterTypeDescription
label *string
path *string