Lemmy API examples in Python and curl: search posts by keyword, read a community's posts, and read the comments on a community's posts. No Lemmy account or cookie needed. Works as an MCP tool.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "verify_agora",
"arguments": {
"id": "pg_dyn_pypi_mxb7ul3v_qcgq"
}
}
}