Tomato plants need, nitrogen, phosphate, potash, lime. I use 15/15/15 fertilizer, ammonium nitrate and lime on my tomatoes. I usually get a bushel basket of tomatoes from each plant for the whole growing season.
If you are determined to use only organic fertilizer this is what you need to do. Mix 1 part wood ash, 1 part dirt, 1 part dry organic material in a 1 gallon container. Keep it next to your toilet. Every time you have to pee do it in the container. Bacteria is very quick to turn the Urine into ammonia and that is rich in nitrogen. The wood ash contains potash and lime. Urine is an excellent source of Phosphorous, Potassium, and other trace elements. And it is free. It only takes a week to make a 1 gallon batch of fertilizer. After 1 week use 1/2 of it for fertilizer. Mix the other half with another 1/2 gallon of wood ash, dirt, orgainic material and continue to pee in it for 2 days. The bacteria is already growing from the first 1/2 gallon so you use that as a bacteria starter it gets the next batch going very quick. You can harvest a 1/2 gallon of fertilizer every 2 days just keep adding more mix and keep peeing in it.