Hasab MCP
Model Context Protocol (MCP) server for Hasab AI. Lets Cursor, Claude Desktop, and other MCP hosts call Hasab language APIs from natural language—translation, summarization, transcription, text-to-speech, and chat.
Install from PyPI; calls https://api.hasab.ai with your HASAB_KEY. Source repository is private to Hasab.
Requirements
- Python 3.11+
- uv recommended (
uvx) - Hasab API key (
HASAB_KEY_…from the portal)
Install
pip install hasab-mcp
# or one-off / always latest cache:
uvx hasab-mcp
PyPI: https://pypi.org/project/hasab-mcp/
Cursor
Add to ~/.cursor/mcp.json (or project .cursor/mcp.json):
{
"mcpServers": {
"hasab": {
"command": "uvx",
"args": ["hasab-mcp"],
"env": {
"HASAB_API_KEY": "HASAB_KEY_…"
}
}
}
}
Restart Cursor. You should see six tools: hasab_translate, hasab_summarize, hasab_transcribe, hasab_tts, hasab_list_tts_speakers, hasab_chat.
Example prompts
Translate "Good morning" to Amharic using Hasab.Using Hasab TTS, speak "ሰላም" in Amharic with speaker hanna. Give me the audio file path.
Claude Desktop
Same mcpServers block in:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Tools (v1)
| Tool | Hasab API |
|---|---|
hasab_translate |
POST /api/translate |
hasab_summarize |
POST /api/summarize |
hasab_transcribe |
POST /api/upload-audio |
hasab_tts |
POST /api/tts/synthesize |
hasab_list_tts_speakers |
GET /api/tts/speakers |
hasab_chat |
POST /api/chat |
Translation language codes: amh, eng, orm, tig (and aliases en, am, ti, Oromo, Tigrigna).
Environment
| Variable | Required | Default |
|---|---|---|
HASAB_API_KEY |
Yes | — |
HASAB_API_BASE_URL |
No | https://api.hasab.ai |
HASAB_MCP_AUDIO_DIR |
No | {temp}/hasab-mcp/audio |
HASAB_MCP_TIMEOUT |
No | 120 |
HASAB_MCP_LOG_LEVEL |
No | INFO |
Do not commit API keys. Each user uses their own key; usage bills to their Hasab account.
License
Proprietary — Hasab AI. All rights reserved. Not open source. Internal and customer use via published PyPI package only.
Metadata
Release files for hasab-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hasab_mcp-0.1.3.tar.gz | 8.5 kB | With provenance | Details for hasab_mcp-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hasab_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for hasab_mcp-0.1.3-py3-none-any.whl |
Total release size: 16.9 kB
Release files / hasab_mcp-0.1.3.tar.gz
| Download URL | hasab_mcp-0.1.3.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94743e84d8da82c3ef56447829b56e82f33d0d7a041a44c01fc2622646632380
|
|
BLAKE2b-256 checksum How to use checksums |
b9abaa085489fcd6fdad325bf7a191eccd086e300f423a754c33b1777403d2e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency logRelease files / hasab_mcp-0.1.3-py3-none-any.whl
| Download URL | hasab_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e6713e37831711e9b4f22198ad5a11cfd2a236c1c661e9fd65adea0029b7752
|
|
BLAKE2b-256 checksum How to use checksums |
bc1d78dcc01026c4d78eb809149d1c509dc3f5856a09e54b39dab02ed5faeca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency logSecurity for hasab-mcp 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hasab_mcp-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency logA 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.