1: \begin{abstract}
2: A code over a finite alphabet is called locally recoverable {(LRC code)} if every symbol in the encoding is a function of a small number (at most $r$) other symbols of the codeword. In this paper we introduce a construction of LRC codes on algebraic curves, extending a recent construction of Reed-Solomon like codes with locality.
3: We treat the following situations: local recovery of a single erasure, local recovery of multiple erasures, and
4: codes with several disjoint recovery sets for every coordinate (the {\em availability problem}).
5: For each of these three problems we describe a general construction of codes on curves and construct several families of LRC
6: codes. \textcolor{black}{We also describe a construction of codes with availability that relies on automorphism groups of curves.}
7:
8: We also consider the asymptotic problem for the parameters of LRC codes on curves. We show that the codes obtained from
9: asymptotically maximal curves (for instance, Garcia-Stichtenoth towers) improve upon the asymptotic versions
10: of the Gilbert-Varshamov bound for LRC codes.
11: \end{abstract}
12: