Tools for building Model Context Protocol (MCP) servers on top of aiohttp
Aiohttp MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Tools for building Model Context Protocol (MCP) servers on top of aiohttp.
Implements the MCP protocol natively — no heavy SDK dependencies. Only 3 runtime dependencies: aiohttp, aiohttp-sse, pydantic.
Once Aiohttp is connected, these are the calls the assistant has available:
Async — first design with full type hintsctx.request — aiohttp Request (headers, cookies, client IP)ctx.app — aiohttp Application for shared state (ctx.app["db_pool"])ctx.request_id — JSON-RPC request IDaiohttp — sse >= 2.2.0, < 3.0.0aiohttp-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Aiohttp's toolset — Async, ctx.request, ctx.app and 2 more — is a fair guide to whether it matches your workflow.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Async | first design with full type hints |
| ctx.request | aiohttp Request (headers, cookies, client IP) |
| ctx.app | aiohttp Application for shared state (ctx.app["db_pool"]) |
| ctx.request_id | JSON-RPC request ID |
| aiohttp | sse >= 2.2.0, < 3.0.0 |
{
"mcpServers": {
"aiohttp": {
"command": "uvx",
"args": ["aiohttp-mcp"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.