Go out into a forest of deciduous trees and find an old decomposing tree stump and dig up as much of the underground portion and roots as possible. When I was young, we cleared the land for a cabin and that night, the tree roots glowed in the dark (no joke). Turns out, phosphorus accumulates in tree roots. Plus, the decomposing stump usually helps with drainage, feeds the worms with organic material, and offers a bit of visual character to the soil. Nitrogen can come from anything green (like grass clippings - mind the seeds and weeds that propagate from clippings though) or you can even add a little pee. As stated above, sea weed is great too. Hard wood ashes are very high in potassium, just mind your pH levels (it is a base). I would be concerned about micro-nutrients as well.....
I recommend the swiss method of preparing potassium nitrate, you get the N and K from pee and ashes without peeing on the garden or messing up the pH and just use the rotten tree stump as P