  We report on a V=11.2 early K dwarf, XO-2 (GSC 03413-00005), that hosts a
Rp=0.98+0.03/-0.01 Rjup, Mp=0.57+/-0.06 Mjup transiting extrasolar planet,
XO-2b, with an orbital period of 2.615857+/-0.000005 days. XO-2 has high
metallicity, [Fe/H]=0.45+/-0.02, high proper motion, mu_tot=157 mas/yr, and has
a common proper motion stellar companion with 31" separation. The two stars are
nearly identical twins, with very similar spectra and apparent magnitudes. Due
to the high metallicity, these early K dwarf stars have a mass and radius close
to solar, Ms=0.98+/-0.02 Msolar and Rs=0.97+0.02/-0.01 Rsolar. The high proper
motion of XO-2 results from an eccentric orbit (Galactic pericenter, Rper<4
kpc) well confined to the Galactic disk (Zmax~100 pc). In addition, the phase
space position of XO-2 is near the Hercules dynamical stream, which points to
an origin of XO-2 in the metal-rich, inner Thin Disk and subsequent dynamical
scattering into the solar neighborhood. We describe an efficient Markov Chain
Monte Carlo algorithm for calculating the Bayesian posterior probability of the
system parameters from a transit light curve.
