This thesis develops a Swedish Climate Policy Uncertainty (CPU) Index and examines its impact on the credit spreads of corporate green bonds. The index is constructed using text analysis of newspaper articles to quantify uncertainty regarding climate policy. To ensure the accuracy of the index a random article audit is performed and index normalization choices are evaluated and compared. Spikes in the index coincide with elections and other significant climate policy-related events. The empirical analysis employs a Bayesian Vector Autoregression (VAR) model with steady-state priors. The findings from the impulse responses indicate that shocks to the Swedish CPUIndex are associated with a modest increase in the credit spreads of greenbonds. This effect remains consistent across different model specifications. Additionally, while the US CPU Index is included in the model, its impact on credit spreads is not found to be robust.