The field equations of Brans-Dicke gravity coupled to a mass-varying vector field are derived. Anisotropic cosmological solutions with a locally rotationally symmetric Bianchi type I metric and time-dependent scalar and electric vector fields are studied. A particular class of exact solutions for which all the variable parameters have a power-law time dependence is given. The universe expands with a constant expansion anisotropy within this class of solutions. We show that the accelerating expansion is driven by the scalar field and the electric vector field can be interpreted as an anisotropic dark matter source.