Barebone query_server