Journal of High Energy Physics 2015.1 (2015): 052 reproduced by permission of Scuola Internazionale Superiore di Studi Avanzati (SISSA)We provide a general algorithm for constructing the holographic dictionary for any asymptotically locally Lifshitz background, with or without hyperscaling violation, and for any values of the dynamical exponents z and θ, as well as the vector hyperscaling violating exponent [1, 2], that are compatible with the null energy condition. The analysis is carried out for a very general bottom up model of gravity coupled to a massive vector field and a dilaton with arbitrary scalar couplings. The solution of the radial Hamilton-Jacobi equation is obtained recursively in the form of a graded expansion in eigenfunctions of two commuting operators [3], which are the appropriate generalization of the dilatation operator for non scale invariant and Lorentz violating boundary conditions. The Fefferman-Graham expansions, the sources and 1-point functions of the dual operators, the Ward identities, as well as the local counterterms required for holographic renormalization all follow from this asymptotic solution of the radial Hamilton-Jacobi equation. We also find a family of exact backgrounds with z > 1 and θ > 0 corresponding to a marginal deformation shifting the vector hyperscaling violating parameter and we present an example where the conformal anomaly contains the only z = 2 conformal invariant in d = 2 with four spatial derivativesWC is supported by the SITP, Stanford and the Arab Fund for Economic and Social Development. The work of IP is funded by the Consejo Superior de Investigaciones Científicas and the European Social Fund under the contract JAEDOC068. This work has also been supported by the ESF Holograv Programme, the Spanish Ministry of Economy and Competitiveness under grant FPA2012-32828, Consolider-CPAN (CSD2007-00042), the Spanish MINECO’s “Centro de Excelencia Severo Ochoa” Programme under grant SEV-2012-0249, as well as by the grant HEPHACOS-S2009/ESP1473 from the C.A. de Madri